wpf-119039-controls-and-libraries-property-grid-appearance-customization.md
The PropertyGridControl allows you to alter the layout and appearance of its elements.
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
PropertyGridControl.PropertyDefinitionTemplate
PropertyGridControl.PropertyDefinitionTemplateSelector
|
Defines the presentation of properties.
| |
Description
|
PropertyDefinitionBase.DescriptionTemplate
PropertyDefinitionBase.DescriptionTemplateSelector
PropertyGridControl.DescriptionTemplate
PropertyGridControl.DescriptionTemplateSelector
|
Defines the presentation of property descriptions.
| |
Content
|
PropertyDefinitionBase.ContentTemplate
PropertyDefinitionBase.ContentTemplateSelector
|
Defines the presentation of property content.
| |
Header
|
PropertyDefinitionBase.HeaderTemplate
PropertyDefinitionBase.HeaderTemplateSelector
|
Defines the presentation of property headers.
| |
Row
|
PropertyDefinitionBase.RowTemplate
|
Defines the presentation of property grid rows.
| |
Cell
|
PropertyDefinition.CellTemplate
PropertyDefinition.CellTemplateSelector
|
Defines the presentation of property grid cells.
|
The following table lists style properties that define the appearance of the PropertyGridControl‘s visual elements:
|
Visual Element
|
Property
|
Description
| | --- | --- | --- | |
Grid Row
|
PropertyGridControl.RowStyleSelector
|
Specifies the style applied to property grid rows.
| |
Property
|
PropertyDefinitionBase.PropertyDefinitionStyle
PropertyGridControl.PropertyDefinitionStyle
|
Specifies the style applied to properties.
| |
Property Description
|
PropertyDefinitionBase.DescriptionContainerStyle
PropertyGridControl.DescriptionContainerStyle
PropertyDefinitionBase.DescriptionContainerStyleSelector
PropertyGridControl.DescriptionContainerStyleSelector
|
Specifies the style applied to property descriptions.
|
See Also