OptionsView.HighlightDisabledItem Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

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

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