ElementPropertyDescriptor.Category Property

Gets the category in which to group the domain property when the property is displayed in a PropertyGrid control that is set to Categorized mode.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)


Public Overrides ReadOnly Property Category As String
public override string Category { get; }
virtual property String^ Category {
    String^ get () override;
abstract Category : string with get 
override Category : string with get
override function get Category () : String

Property Value

Type: String
The category of the described property.


If the owner parameter was specified in the constructor for this property descriptor, then the GetCategory method of the owner provides the category, where this descriptor is passed in the propertyDescriptor parameter. Otherwise, the CategoryResourceAttribute or CategoryAttribute that is applied to the described property is used. If no category is specified, the default category, Misc, is returned.

.NET Framework Security

See Also


ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace