net472_PropertyGridHelpers.Attributes_LocalizedCategoryAttribute - dparvin/PropertyGridHelpers GitHub Wiki
Attribute for specifying a localized category name for a property or event.
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event)]
public class LocalizedCategoryAttribute : LocalizedTextAttribute
name | description |
---|---|
LocalizedCategoryAttribute(…) | Initializes a new instance of the LocalizedCategoryAttribute class. |
static Get(…) | Gets the LocalizedCategoryAttribute from the specified context. |
This attribute allows category names displayed in property grids to be localized by retrieving the category name from a resource file. If your class has a ResourcePathAttribute
applied to it, the resource key will be looked up in the resource file specified by that attribute.
- class LocalizedTextAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
- LocalizedCategoryAttribute.cs