Skip to main content

OptionsView.HighlightDisabledItem Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
public bool HighlightDisabledItem { get; set; }

Property Value

Type Default Description
Boolean false

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

Property Paths

You can access this nested property as listed below:

Object Type Path to HighlightDisabledItem
DataLayoutControl
.OptionsView.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