windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navelement-151646b7.md
Provides access to the appearance settings used to paint the current button (NavElement) in the pressed state, when it resides within the nav bar. The specified background colors are also applied to the element’s primary dropdown tile bar (if present).
Namespace : DevExpress.XtraBars.Navigation
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Appearance")]
public AppearanceObject AppearanceSelected { get; }
<DXCategory("Appearance")>
Public ReadOnly Property AppearanceSelected As AppearanceObject
| Type | Description |
|---|---|
| AppearanceObject |
The appearance settings applied to the current NavElement rendered as a button in the nav bar, when the button is in the pressed state.
|
The appearance settings specified by the AppearanceSelected property are applied to:
In the image below, the background of the pressed item and its primary dropdown tile bar are painted in the light cyan color.
To specify the default appearance settings for all pressed buttons in the nav bar, use the TileNavPane.AppearanceSelected property. The NavElement.AppearanceSelected property affects the appearance of the current item, overriding the default appearance settings (TileNavPane.AppearanceSelected).
See Also