Back to Devexpress

OptionsView.HighlightDisabledItem Property

windowsforms-devexpress-dot-xtralayout-dot-optionsview-d8f2f9e8.md

latest2.2 KB
Original Source

OptionsView.HighlightDisabledItem Property

Gets or sets whether disabled layout items are highlighted according to the current skin.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool HighlightDisabledItem { get; set; }
vb
<DefaultValue(False)>
Public Property HighlightDisabledItem As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if disabled layout items are highlighted; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to HighlightDisabledItem
LayoutControl

.OptionsView .HighlightDisabledItem

|

Remarks

This option is in effect when a skinning paint scheme is applied and the OptionsView.AllowItemSkinning property is set to true. If the HighlightDisabledItem option is set to true , layout items that contain disabled controls are specifically painted according to the current skin.

The image used to render disabled layout items is retrieved from a skin, so you can use the Skin Editor utility to customize the image as required.

See Also

AllowItemSkinning

LookAndFeel

OptionsView Class

OptionsView Members

DevExpress.XtraLayout Namespace