Appearance Customization
The PropertyGridControl allows you to alter the layout and appearance of its elements.
Property Grid Elements That Support Templates
The following table lists template properties that define the appearance of the PropertyGridControl‘s visual elements.
Visual Element | Property | Description |
---|---|---|
PropertyDefinition | PropertyDefinitionBase.PropertyDefinitionTemplate PropertyDefinitionBase.PropertyDefinitionTemplateSelector | Defines the presentation of properties. |
Description | PropertyDefinitionBase.DescriptionTemplate PropertyDefinitionBase.DescriptionTemplateSelector | Defines the presentation of property descriptions. |
Content | Defines the presentation of property content. | |
Header | Defines the presentation of property headers. | |
Row | Defines the presentation of property grid rows. | |
Cell | Defines the presentation of property grid cells. |
PropertyGrid Styles
The following table lists style properties that define the appearance of the PropertyGridControl‘s visual elements:
Visual Element | Property | Description |
---|---|---|
Grid Row | Specifies the style applied to property grid rows. | |
Property | Specifies the style applied to properties. | |
Property Description | PropertyDefinitionBase.DescriptionContainerStyle PropertyGridControl.DescriptionContainerStyle | Specifies the style applied to property descriptions. |