Back to Devexpress

NavElement.Appearance Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navelement-81911d26.md

latest3.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public AppearanceObject Appearance { get; }
vb
<DXCategory("Appearance")>
Public ReadOnly Property Appearance As AppearanceObject

Property Value

TypeDescription
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

Appearance

TileNavPane.AppearanceHovered

TileNavPane.AppearanceSelected

NavElement.AppearanceHovered

NavElement.AppearanceSelected

TileNavPaneDropDownOptions.AppearanceItem

TileItem.AppearanceItem

OptionsDropDown

NavElement Class

NavElement Members

DevExpress.XtraBars.Navigation Namespace