windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-04affd0e.md
Gets or sets the tab page’s caption.
Namespace : DevExpress.XtraTabbedMdi
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual string Text { get; set; }
Public Overridable Property Text As String
| Type | Description |
|---|---|
| String |
A String value which specifies the text displayed within the page header.
|
If the Text property’s value is null ( Nothing in Visual Basic), the page’s caption is specified by the Text property of the corresponding MDI child form.
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.
DXMenuItem menuItem = new DXMenuItem();
menuItem.Caption = page.Text;
menuItem.Image = GetMdiTabPageImage(page);
Dim menuItem As DXMenuItem = New DXMenuItem()
menuItem.Caption = page.Text
menuItem.Image = GetMdiTabPageImage(page)
See Also