Back to Devexpress

LayoutAppearanceCollection.DisabledLayoutItem Property

windowsforms-devexpress-dot-xtralayout-dot-layoutappearancecollection-60e21c81.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public AppearanceObject DisabledLayoutItem { get; }
vb
Public ReadOnly Property DisabledLayoutItem As AppearanceObject

Property Value

TypeDescription
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

ControlDisabled

LayoutAppearanceCollection Class

LayoutAppearanceCollection Members

DevExpress.XtraLayout Namespace