Skip to main content

NavElement.Caption Property

Gets or sets the caption of the current NavElement when it is rendered as a button in the TileNavPane‘s nav bar.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue("")]
[DXCategory("Properties")]
public virtual string Caption { get; set; }

Property Value

Type Default Description
String String.Empty

The String value specifying the caption of the current NavElement when it is rendered as a button in the TileNavPane‘s nav bar.

Remarks

Use the Caption property to specify the caption of the current NavElement. This caption is displayed in the button that represents the current NavElement in the TileNavPane‘s nav bar.

You can also use the NavElement.Glyph property to specify the NavElement‘s glyph that, along with the Caption, is used to describe the button’s purpose.

If an element is displayed as a tile, you can specify the text and image to be displayed in a tile with the TileNavElement.TileText and TileNavElement.TileImage properties.

See Also