dashboard-devexpress-dot-dashboardcommon-dot-tabcontainerdashboarditem.md
Provides access to the collection of tab pages stored in the tab container.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public DashboardTabPageCollection TabPages { get; }
Public ReadOnly Property TabPages As DashboardTabPageCollection
| Type | Description |
|---|---|
| DashboardTabPageCollection |
A collection of tab pages in the tab container.
|
To obtain a dashboard’s tab page, iterate over tab containers and use the TabPages property to iterate over a container’s tab pages.
You can add a tab page to the collection by doing one of the following:
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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-dashboard-window-calculation-example/CS/WindowCalculationExample/TabPageLoadHelper.cs#L90
if (item != null) {
node.DashboardItem = CopyItemFromPageToPage(item, destinationParentContainer.TabPages[1]);
node.Weight = currentNode.Weight;
winforms-dashboard-window-calculation-example/VB/WindowCalculationExample/TabPageLoadHelper.vb#L104
If item IsNot Nothing Then
node.DashboardItem = CopyItemFromPageToPage(item, destinationParentContainer.TabPages(1))
node.Weight = currentNode.Weight
See Also
TabContainerDashboardItem Class