Back to Devexpress

TileNavElement.TileText Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilenavelement-94764ee9.md

latest3.1 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Tile properties")]
public string TileText { get; set; }
vb
<DXCategory("Tile properties")>
<DefaultValue(Nothing)>
Public Property TileText As String

Property Value

TypeDefaultDescription
Stringnull

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

TileImage

Caption

Tile

TileItem.Text

Elements

TileItemElement

TileItemElement.Text

Tile Item Structure

TileNavElement Class

TileNavElement Members

DevExpress.XtraBars.Navigation Namespace