Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsView.HighlightDisabledItem Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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
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