windowsforms-devexpress-dot-xtralayout-dot-optionsview-d8f2f9e8.md
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
[DefaultValue(false)]
public bool HighlightDisabledItem { get; set; }
<DefaultValue(False)>
Public Property HighlightDisabledItem As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if disabled layout items are highlighted; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to HighlightDisabledItem |
|---|---|
| LayoutControl |
.OptionsView .HighlightDisabledItem
|
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