Skip to main content
A newer version of this page is available. .

LayoutItemContainer.PaintAppearanceItemCaption Property

Provides access to the appearance settings currently used to paint layout items that belong to the current container.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.2.dll

Declaration

[Browsable(false)]
public override AppearanceObject PaintAppearanceItemCaption { get; }

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 to paint layout items that belong to the current group. These are the result of a combination of appearance settings of the current group 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.

See Also