Skip to main content

PropertyDefinitionBase.HighlightingMode Property

Gets or sets the currently selected property‘s highlighting mode. This is a dependency property.

Namespace: DevExpress.Xpf.PropertyGrid

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

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public HeaderHighlightingMode? HighlightingMode { get; set; }

Property Value

Type Description
Nullable<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 current property‘s highlighting mode.

To set the highlighting mode for all properties in the property grid, use the control’s PropertyGridControl.HighlightingMode property.

See Also