Skip to main content
A newer version of this page is available. .

PropertyGridControl.DescriptionContainerStyle Property

Gets or sets the style applied to property descriptions within the grid. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v19.2.dll

Declaration

public Style DescriptionContainerStyle { get; set; }

Property Value

Type Description
Style

A Style object that specifies the style applied to property descriptions.

Remarks

The style applied to all property descriptions is specified by the DescriptionContainerStyle property. Individual properties provide the PropertyDefinitionBase.DescriptionContainerStyle property that, if specified, overrides the style specified by the grid. This allows you to provide a custom appearance of their descriptions.

If you have more than one style that can be used to render property descriptions, you can implement custom logic to choose the required style. To do this, use the PropertyGridControl.DescriptionContainerStyleSelector property.

To learn more, see Appearance Customization.

See Also