BaseLayoutItem.PaintAppearanceItemCaption Property
Provides access to the appearance settings currently used to paint the layout item.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
AppearanceObject | An AppearanceObject object that contains the corresponding appearance settings. |
Remarks
The LayoutControl supports the hierarchical structure of appearances. The appearance settings applied to layout groups are propagated to their layout items. If appearance settings are applied to specific layout items, they override the appearances of parent groups. Please refer to the Appearances topic for information on the appearance mechanism.
The PaintAppearanceItemCaption property returns the actual appearance settings that are currently used for layout item painting. These are the result of a combination of appearance settings of the current layout item and its parent groups.
To set appearance settings, use the properties provided by the layout control, layout items and groups: BaseLayoutItem.AppearanceItemCaption, LayoutItemContainer.AppearanceGroup, LayoutItemContainer.AppearanceTabPage and LayoutControl.Appearance.