Skip to main content

TileNavElement.TileImage Property

Gets or sets the glyph displayed in the tile corresponding to the current TileNavElement object.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Tile properties")]
public Image TileImage { get; set; }

Property Value

Type Default Description
Image null

The image displayed in a tile.

Remarks

When the TileNavElement is rendered as a tile in a dropdown tile bar, the TileImage property specifies the image displayed in this tile. When the TileNavElement is rendered as a button within the nav bar, the button’s image is specified by the NavElement.Glyph property.

The TileImage property is in sync with the TileItem.Image property, accessible via the TileNavElement.Tile object. A tile can also display additional text blocks and images. These can be added via the TileItem.Elements collection. See the Tile Item Structure topic, for more details on how to manage TileItem‘s elements.

The following image shows a TileNavPane where tiles and buttons display sample images.

TileNavPane_GroupName

See Also