Skip to main content

DashboardTabPage.ShowItemAsTabPage Property

Gets or sets whether to display a single dashboard item like a tab page.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.1.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design

Declaration

[DefaultValue(true)]
public bool ShowItemAsTabPage { get; set; }

Property Value

Type Default Description
Boolean true

true, to display a single dashboard item as tab page; otherwise, false.

Remarks

If the ShowItemAsTabPage property is true and the tab page contains a single dashboard item, the item’s visual borders are merged with the tab page borders and the item’s caption becomes the tab caption, as illustrated below:

Note

When you drop an item to an empty tab page in a dashboard designer, the item is displayed as tab page because the default ShowItemAsTabPage value is true.

To disable the Display Item as Page feature in UI, use one of the following methods:

  • Select the tab page and click the Display Item as Page button in the Design ribbon tab:

  • Select Display Item as Page command in the tab page context menu:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowItemAsTabPage 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.

See Also