windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-bc221ecb.md
Provides access to the tab control’s page collection.
Namespace : DevExpress.XtraTab
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Behavior")]
public virtual XtraTabPageCollection TabPages { get; }
<DXCategory("Behavior")>
Public Overridable ReadOnly Property TabPages As XtraTabPageCollection
| Type | Description |
|---|---|
| XtraTabPageCollection |
An XtraTabPageCollection object which represents a collection of tab pages within a tab control.
|
The TabPages property provides access to the tab pages owned by the tab control. The returned object provides properties and methods that can be used to add, delete and access individual tab pages within the collection.
The following code snippets (auto-collected from DevExpress Examples) contain references to the TabPages 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-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L423
if (examplesCSCount == 0)
foreach (XtraTabPage t in xtraTabControl1.TabPages) if (t.Tag.ToString() == "CS") t.PageEnabled = false;
if (examplesVBCount == 0)
winforms-richedit-document-api/CS/RichEditAPISample/Form1.cs#L528
if (examplesCSCount == 0)
foreach (XtraTabPage t in xtraTabControl1.TabPages) if (t.Tag.ToString() == "CS") t.PageEnabled = false;
if (examplesVBCount == 0)
word-document-api-examples/CS/Form1.cs#L104
if (examplesCSCount == 0)
foreach (XtraTabPage t in xtraTabControl1.TabPages) if (t.Tag.ToString() == "CS") t.PageEnabled = false;
if (examplesVBCount == 0)
winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/Form1.vb#L401
If examplesCSCount = 0 Then
For Each t As XtraTabPage In xtraTabControl1.TabPages
If Equals(t.Tag.ToString(), "CS") Then t.PageEnabled = False
winforms-richedit-document-api/VB/RichEditAPISample/Form1.vb#L504
If examplesCSCount = 0 Then
For Each t As XtraTabPage In xtraTabControl1.TabPages
If Equals(t.Tag.ToString(), "CS") Then t.PageEnabled = False
word-document-api-examples/VB/Form1.vb#L94
If examplesCSCount = 0 Then
For Each t As XtraTabPage In xtraTabControl1.TabPages
If Equals(t.Tag.ToString(), "CS") Then t.PageEnabled = False
See Also