Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutControl.Appearance Property

Provides access to the properties that control the appearance of the controls located within the layout control.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Appearance")]
public LayoutAppearanceCollection Appearance { get; }

#Property Value

Type Description
LayoutAppearanceCollection

A LayoutAppearanceCollection object which provides the appearance settings for the layout controls.

#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 LayoutAppearanceCollection object provides a number of properties which allow you to customize the appearance settings used to paint the layout controls.

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