Back to Devexpress

PropertyDefinitionBase.HighlightingMode Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinitionbase-52d0cb5f.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public HeaderHighlightingMode? HighlightingMode { get; set; }
vb
Public Property HighlightingMode As HeaderHighlightingMode?

Property Value

TypeDescription
Nullable<HeaderHighlightingMode>

A HeaderHighlightingMode enumeration that specifies the property highlighting mode.

|

Available values:

NameDescription
None

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

| | OnlyHeader |

Only the header cell is highlighted.

| | OnlyContent |

Only the value cell is highlighted.

| | HeaderAndContent |

Both the header cell and the value cell are highlighted.

|

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

PropertyDefinitionBase Class

PropertyDefinitionBase Members

DevExpress.Xpf.PropertyGrid Namespace