Class ExCategoryAttribute
- Namespace
- ExControls
- Assembly
- ExControls.dll
Category of a property or event in the property grid; a CategoryType gets the localized name of the standard WinForms category.
public class ExCategoryAttribute : CategoryAttribute
- Inheritance
-
ExCategoryAttribute
- Inherited Members
Constructors
ExCategoryAttribute(CategoryType)
Initializes a new instance of the ExCategoryAttribute class with a standard category.
public ExCategoryAttribute(CategoryType type)
Parameters
typeCategoryTypetype of the category
ExCategoryAttribute(string)
Initializes a new instance of the ExCategoryAttribute class with a custom category.
public ExCategoryAttribute(string categoryName)
Parameters
categoryNamestringname of the category
Properties
Type
Gets the type of the category (Default for a custom category).
public CategoryType Type { get; }
Property Value
Methods
CategoryToString(CategoryType)
Converts category type to resource string.
public static string CategoryToString(CategoryType type)
Parameters
typeCategoryTypetype of the category
Returns
- string
the localized name of the category as WinForms shows it; the name of the type if it is not found