Skip to main content

LayoutAppearanceCollection.DisabledLayoutItem Property

Gets the appearance settings used to paint captions of disabled layout items or items that display disabled controls.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public AppearanceObject DisabledLayoutItem { get; }

Property Value

Type Description

An AppearanceObject object that contains corresponding appearance settings.


The DisabledLayoutItem property contains appearance options that are applied to captions disabled layout items. A layout item is disabled in the following cases:

  • The layout item displays a control whose Enabled property is set to false.
  • The layout item is displayed within a group whose LayoutGroup.Enabled property is set to false.
  • The LayoutControl control is disabled (its Enabled property is set to false).

To specify the appearance of disabled controls in the centralized way, use the LayoutAppearanceCollection.ControlDisabled property.


Currently, only the AppearanceObject.ForeColor property of the DisabledLayoutItem object is in effect. Other appearance options are ignored.

See Also