Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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