35 private bool localized;
37 private string categoryValue;
59 if (appearance ==
null)
73 if (asynchronous ==
null)
143 if (dragDrop ==
null)
227 if (windowStyle ==
null)
245 if (localizedString !=
null)
247 categoryValue = localizedString;
250 return categoryValue;
264 categoryValue = category;
297 return (
string)SR.GetObject(
"PropertyCategory" + value);
static CategoryAttribute Asynchronous
Gets a T:System.ComponentModel.CategoryAttribute representing the Asynchronous category.
static CategoryAttribute Focus
Gets a T:System.ComponentModel.CategoryAttribute representing the Focus category.
static CategoryAttribute Key
Gets a T:System.ComponentModel.CategoryAttribute representing the Key category.
static CategoryAttribute Default
Gets a T:System.ComponentModel.CategoryAttribute representing the Default category.
Represents the base class for custom attributes.
static CategoryAttribute Layout
Gets a T:System.ComponentModel.CategoryAttribute representing the Layout category.
static CategoryAttribute WindowStyle
Gets a T:System.ComponentModel.CategoryAttribute representing the WindowStyle category.
CategoryAttribute()
Initializes a new instance of the T:System.ComponentModel.CategoryAttribute class using the category ...
string Category
Gets the name of the category for the property or event that this attribute is applied to.
Specifies the name of the category in which to group the property or event when displayed in a T:Syst...
override int GetHashCode()
Returns the hash code for this attribute.
static CategoryAttribute DragDrop
Gets a T:System.ComponentModel.CategoryAttribute representing the DragDrop category.
static CategoryAttribute Behavior
Gets a T:System.ComponentModel.CategoryAttribute representing the Behavior category.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
virtual string GetLocalizedString(string value)
Looks up the localized name of the specified category.
static CategoryAttribute Format
Gets a T:System.ComponentModel.CategoryAttribute representing the Format category.
static CategoryAttribute Mouse
Gets a T:System.ComponentModel.CategoryAttribute representing the Mouse category.
static CategoryAttribute Appearance
Gets a T:System.ComponentModel.CategoryAttribute representing the Appearance category.
override bool IsDefaultAttribute()
Determines if this attribute is the default.
static CategoryAttribute Data
Gets a T:System.ComponentModel.CategoryAttribute representing the Data category.
static CategoryAttribute Design
Gets a T:System.ComponentModel.CategoryAttribute representing the Design category.
override bool Equals(object obj)
Returns whether the value of the given object is equal to the current T:System.ComponentModel....
CategoryAttribute(string category)
Initializes a new instance of the T:System.ComponentModel.CategoryAttribute class using the specified...
static CategoryAttribute Action
Gets a T:System.ComponentModel.CategoryAttribute representing the Action category.