Skip to main content
A newer version of this page is available. .

NavElement.AppearanceSelected Property

Provides access to the appearance settings applied to the current NavElement rendered as a button in the nav bar, when it is in the selected state.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

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

Property Value

Type Description
AppearanceObject

The AppearanceObject object that contains the appearance settings applied to the current NavElement rendered as a button in the nav bar, when it is in the selected state.

Remarks

The AppearanceSelected property affects the appearance of the current NavElement rendered as a button in the nav bar, when it is in the selected state. To specify appearance of all buttons in the nav bar in the selected state, use the TileNavPane.AppearanceSelected property.

Note

If the current NavElement object displays a dropdown when clicked, the AppearanceSelected.BackColor property value affects the dropdown’s background color.

If the current NavElement object is rendered as a tile, you can customize the tile’s appearance with the TileItem.AppearanceItem property, accessible via the TileNavElement.Tile property. The appearance settings common to all tiles can be customized with the TileNavPaneDropDownOptions.AppearanceItem property, which can be accessed via the TileNavPane.OptionsPrimaryDropDown and TileNavPane.OptionsSecondaryDropDown objects.

To customize the appearance of an element’s children displayed as tiles in a dropdown tile bar, use the TileNavPaneDropDownOptions.AppearanceItem property, available via the TileNavElement.OptionsDropDown property.

See Also