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

BaseLayoutItem.AppearanceItemCaption Property

Gets the appearance settings used to paint a layout item’s caption.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.2.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content)]
[DXCategory("Appearance")]
public virtual AppearanceObject AppearanceItemCaption { get; }

Property Value

Type Description
AppearanceObject

An AppearanceObject object which provides the appearance settings used to paint the layout item’s caption.

Remarks

The LayoutControl supports the hierarchical structure of appearances. The appearance settings applied to layout groups are propagated to their layout items and nested groups. If appearance settings are applied to specific layout items/groups, they override the appearances of parent groups. Please refer to the Appearances topic for information on the appearance mechanism.

A layout group inherits the AppearanceItemCaption property from the BaseLayoutItem class. Changing the AppearanceItemCaption property for the layout group affects the appearance settings of the captions of the layout items that belong to this group and nesting groups. Changing the AppearanceItemCaption property of a layout item, however, will override the appearance settings of the layout group.

To return the actual appearance settings that are used to paint a specific layout item/group, use the following properties: LayoutItemContainer.PaintAppearanceGroup, BaseLayoutItem.PaintAppearanceItemCaption and LayoutItemContainer.PaintAppearanceItemCaption.

See Also