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
Declaration
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