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

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public AppearanceObject DisabledLayoutItem { get; }

#Property Value

Type Description
AppearanceObject

An AppearanceObject object that contains corresponding appearance settings.

#Remarks

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.

Note

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

See Also