windowsforms-devexpress-dot-xtranavbar-dot-navelement-5bfef9ef.md
Gets the appearance settings used to paint the element.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public virtual AppearanceObject Appearance { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
<XtraSerializablePropertyId(1)>
Public Overridable ReadOnly Property Appearance As AppearanceObject
| Type | Description |
|---|---|
| AppearanceObject |
A AppearanceObject object which provides the appearance settings used to paint the element.
|
The Appearance property allows the appearance settings used to paint an individual NavBarControl’s element (group, link) to be specified. Note that these elements can also be custom painted. For instance, to custom paint the group caption handle the NavBarControl.CustomDrawGroupCaption event.
In the XP2View, XPExplorerBarView and skinning paint schemes, setting background colors via the Appearance property is not in effect.
For more information on appearances, see the Appearances document.
See Also