Skip to main content

TabBase.Text Property

Gets or sets the text content of the current tab (tab page) object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public string Text { get; set; }

Property Value

Type Default Description
String "Tab"

A string value that specifies the text content of the TabBase.


Use the Text property to specify the text content of the current tab (tab page). The position of the text within items is specified by the AppearanceStyleBase.HorizontalAlign and AppearanceStyleBase.VerticalAlign properties available via the corresponding style properties of a tab control or a tab (tab page) object.

If the Tab.NavigateUrl property of a tab is assigned, the item serves as a hyperlink and the appearance of the item’s text set by the Text property can be controlled via the ASPxTabControl.LinkStyle property.

In addition to the text, you can specify a tab’s image and hint text using the TabBase.TabImage and TabBase.ToolTip properties respectively.

See Also