net472_PropertyGridHelpers.Attributes_LocalizedDescriptionAttribute - dparvin/PropertyGridHelpers GitHub Wiki
Specifies a localized description for a property, event, or other member in a class.
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event)]
public class LocalizedDescriptionAttribute : LocalizedTextAttribute
name | description |
---|---|
LocalizedDescriptionAttribute(…) | Initializes a new instance of the LocalizedDescriptionAttribute class. |
static Get(…) | Gets the LocalizedDescriptionAttribute from the specified context. |
This attribute retrieves the description text from a resource file, allowing descriptions to be localized. Apply this attribute to a member, providing the resource key and the resource source type containing the localization.
- class LocalizedTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
- LocalizedDescriptionAttribute.cs