Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​CategoryAttribute
Assembly: System.ComponentModel.Primitives
Inheritance: object → Attribute → CategoryAttribute
Specifies the name of the category in which to group the property or event when displayed in a <see cref="T:System.Windows.Forms.PropertyGrid" /> control set to Categorized mode.
Properties
public static
CategoryAttribute
Action
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Action category.
public static
CategoryAttribute
Appearance
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Appearance category.
public static
CategoryAttribute
Asynchronous
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Asynchronous category.
public static
CategoryAttribute
Behavior
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Behavior category.
public
string
Category
Gets the name of the category for the property or event that this attribute is applied to.
public static
CategoryAttribute
Data
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Data category.
public static
CategoryAttribute
Default
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Default category.
public static
CategoryAttribute
Design
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Design category.
public static
CategoryAttribute
DragDrop
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the DragDrop category.
public static
CategoryAttribute
Focus
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Focus category.
public static
CategoryAttribute
Format
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Format category.
public static
CategoryAttribute
Key
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Key category.
public static
CategoryAttribute
Layout
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Layout category.
public static
CategoryAttribute
Mouse
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the Mouse category.
public static
CategoryAttribute
WindowStyle
Gets a <see cref="T:System.ComponentModel.CategoryAttribute" /> representing the WindowStyle category.
public
object
TypeId
Methods
public
bool
Equals​(object obj)
Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.CategoryAttribute" /> .
Returns <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" /> .
obj
The object to test the value equality of.
public
int
GetHashCode​()
Returns the hash code for this attribute.
Returns A 32-bit signed integer hash code.
protected
string
GetLocalizedString​(string value)
Looks up the localized name of the specified category.
Returns The localized name of the category, or <see langword="null" /> if a localized name does not exist.
value
The identifer for the category to look up.
public
bool
IsDefaultAttribute​()
Determines if this attribute is the default.
Returns <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object