Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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