Skip to main content

TileNavElement.TileText Property

Gets or sets the text 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

[DefaultValue(null)]
[DXCategory("Tile properties")]
public string TileText { get; set; }

Property Value

Type Default Description
String null

A string value specifying the tile text.

Remarks

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

The TileText property is in sync with the TileItem.Text 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 a TileItem‘s elements.

See Also