BaseLayoutItem.Appearance Property
Gets or sets the object that provides appearance settings for the item’s captions. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.Docking.Appearance | A DevExpress.Xpf.Docking.Appearance object that specifies the appearance settings for the item’s caption. |
Remarks
You can use the Appearance property to customize the appearance settings for the item’s caption when it’s in the normal and active (selected) states.
<dxdo:LayoutPanel Caption="Panel1">
<dxdo:LayoutPanel.Appearance>
<dxdo:Appearance>
<dxdo:Appearance.Normal>
<dxdo:AppearanceObject Background="Green"/>
</dxdo:Appearance.Normal>
<dxdo:Appearance.Active>
<dxdo:AppearanceObject Background="Red"/>
</dxdo:Appearance.Active>
</dxdo:Appearance>
</dxdo:LayoutPanel.Appearance>
<TextBox />
</dxdo:LayoutPanel>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Appearance property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.