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

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