Skip to main content

NavElement.Appearance Property

Provides access to the appearance settings applied to the current NavElement rendered as a button in the nav bar.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public AppearanceObject Appearance { 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.

Remarks

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

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