Skip to main content

PropertyGridControl.HighlightingMode Property

Gets or sets the property highlighting mode for the entire property grid. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

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

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public HeaderHighlightingMode HighlightingMode { get; set; }

Property Value

Type Description
HeaderHighlightingMode

A HeaderHighlightingMode enumeration that specifies the property highlighting mode.

Available values:

Name Description
None

Neither the header cell, nor the value cell is highlighted.

HeaderHighlightingMode_None

OnlyHeader

Only the header cell is highlighted.

HeaderHighlightingMode_OnlyHeader

OnlyContent

Only the value cell is highlighted.

HeaderHighlightingMode_OnlyContent

HeaderAndContent

Both the header cell and the value cell are highlighted.

HeaderHighlightingMode_HeaderAndContent

Remarks

Use the HighlightingMode property to specify the property highlighting mode for the entire property grid.

To set the highlighting mode for individual properties, use the PropertyDefinitionBase.HighlightingMode property.

See Also