wpf-devexpress-dot-xpf-dot-docking-dot-tabbedgroup.md
Gets or sets whether the only dock panel within the TabbedGroup should display its tab.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public bool ShowTabForSinglePage { get; set; }
Public Property ShowTabForSinglePage As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the only dock panel within the TabbedGroup should display its tab; otherwise, false.
|
By default, all dock panels (LayoutPanel objects) added to a TabbedGroup display their tabs. An end-user clicks these tabs to activate a corresponding dock panel. When there is only one dock panel within a TabbedGroup, you can use the ShowTabForSinglePage property to specify whether its tab should be displayed.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowTabForSinglePage 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.
wpf-scheduler-use-entity-framework-to-bind-to-data/CS/DXSample/MainWindow.xaml#L23
<dxdo:LayoutGroup>
<dxdo:DocumentGroup ShowTabForSinglePage="False">
<dxdo:DocumentPanel>
</dxdo:LayoutGroup>
<dxdo:TabbedGroup ItemHeight="0.3*" prism:RegionManager.RegionName="{x:Static Infrastructure:RegionNames.TabRegion}" ShowTabForSinglePage="True"/>
</dxdo:LayoutGroup>
wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L35
<dxdo:LayoutGroup>
<dxdo:DocumentGroup ShowTabForSinglePage="False">
<dxdo:DocumentPanel>
See Also