Tab
A newer version of this page is available. Switch to the current version.

TabBase.Text Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("Tab")]
public string Text { get; set; }
<DefaultValue("Tab")>
Public Property Text As String

Property Value

Type Default Description
String

"Tab"

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

Remarks

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