TabBase.Text Property
Gets or sets the text content of the current tab (tab page) object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | "Tab" | A string value that specifies the text content of the Tab |
#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.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Text property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.