Back to Devexpress

TileNavElement.Tile Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilenavelement-ffa98dba.md

latest3.5 KB
Original Source

TileNavElement.Tile Property

Provides access to the tile used to render the current TileNavElement in the TileNavPane‘s drop-down tile bars.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Tile properties")]
public TileBarItem Tile { get; }
vb
<DXCategory("Tile properties")>
Public ReadOnly Property Tile As TileBarItem

Property Value

TypeDescription
TileBarItem

The TileBarItem object used to render the current TileNavElement in the TileNavPane‘s drop-down tile bars.

|

Remarks

When a TileNavElement is displayed in a dropdown tile bar, it is rendered as a tile. Use the Tile property to access and customize this tile.

To specify text and image for the tile, use the TileNavElement.TileText and TileNavElement.TileImage properties.

You can customize the tile’s appearance with the TileItem.AppearanceItem property, accessible via the 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

TileBarItem

TileText

TileImage

Tile Item Structure

TileNavElement Class

TileNavElement Members

DevExpress.XtraBars.Navigation Namespace