LayoutItemContainer.PaintAppearanceGroup Property

Provides access to the appearance settings currently used to paint the layout group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[Browsable(false)]
public virtual LayoutGroupAppearance PaintAppearanceGroup { get; }
<Browsable(False)>
Public Overridable ReadOnly Property PaintAppearanceGroup As LayoutGroupAppearance

Property Value

Type Description
DevExpress.XtraLayout.Helpers.LayoutGroupAppearance

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

The PaintAppearanceGroup property returns the actual appearance settings that are currently used for layout group painting. These are the result of a combination of appearance settings of the current layout 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