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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
property String^ Category {
	virtual String^ get() override;
}

Property Value

Type: System::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.

Return to top
Show: