windowsforms-devexpress-dot-xtratab-dot-xtratabpage-744ab9a3.md
Gets or sets the tab page caption.
Namespace : DevExpress.XtraTab
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(true)]
public override string Text { get; set; }
<Browsable(True)>
Public Overrides Property Text As String
| Type | Description |
|---|---|
| String |
A String value which specifies the text displayed within the page header.
|
The page caption can contain a mnemonic character that allows an end-user to activate the current page using a keyboard shortcut. See XtraTabControl.UseMnemonic for details.
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.
winforms-tab-control-custom-header-buttons/CS/XtraTabControl_CustomButtons/Form1.cs#L51
XtraTabPage page = new XtraTabPage();
page.Text = caption;
PictureEdit picEdit = new PictureEdit();
winforms-tab-control-custom-header-buttons/VB/XtraTabControl_CustomButtons/Form1.vb#L57
Dim page As XtraTabPage = New XtraTabPage()
page.Text = caption
Dim picEdit As PictureEdit = New PictureEdit()
See Also