Back to Devexpress

XtraTabPage.Text Property

windowsforms-devexpress-dot-xtratab-dot-xtratabpage-744ab9a3.md

latest2.7 KB
Original Source

XtraTabPage.Text Property

Gets or sets the tab page caption.

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
public override string Text { get; set; }
vb
<Browsable(True)>
Public Overrides Property Text As String

Property Value

TypeDescription
String

A String value which specifies the text displayed within the page header.

|

Remarks

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

csharp
XtraTabPage page = new XtraTabPage();
page.Text = caption;
PictureEdit picEdit = new PictureEdit();

winforms-tab-control-custom-header-buttons/VB/XtraTabControl_CustomButtons/Form1.vb#L57

vb
Dim page As XtraTabPage = New XtraTabPage()
page.Text = caption
Dim picEdit As PictureEdit = New PictureEdit()

See Also

UseMnemonic

XtraTabPage Class

XtraTabPage Members

DevExpress.XtraTab Namespace