wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-b0b405bb.md
A collection of AutoHideGroup objects.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public AutoHideGroupCollection AutoHideGroups { get; }
Public ReadOnly Property AutoHideGroups As AutoHideGroupCollection
| Type | Description |
|---|---|
| AutoHideGroupCollection |
A collection of AutoHideGroup objects that contains auto-hidden panels.
|
Follow the steps below to create an auto-hidden panel in XAML:
Note
Use the AutoHideGroup.DockType property to specify the DockLayoutManager‘s side where an auto-hidden group is docked.
This example shows how to create auto-hidden panels in XAML. To create auto-hidden panels:
AutoHideGroup objects are added to the DockLayoutManager.AutoHideGroups collection.
Panels are added to the corresponding AutoHideGroup object.
<dxdo:DockLayoutManager.AutoHideGroups>
<!--Create one AutoHideGroup on the right-->
<dxdo:AutoHideGroup DockType="Right">
<dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
<!--Create two AutoHideGroups on the left-->
<dxdo:AutoHideGroup DockType="Left">
<dxdo:LayoutPanel x:Name="paneErrors" Caption="Errors" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:LayoutPanel x:Name="paneWarnings" Caption="Warnings" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
<dxdo:AutoHideGroup DockType="Left">
<dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results" ItemWidth="150">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
</dxdo:DockLayoutManager.AutoHideGroups>
The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoHideGroups 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#L29
</dxdo:LayoutGroup>
<dxdo:DockLayoutManager.AutoHideGroups>
<dxdo:AutoHideGroup DockType="Right">
wpf-dock-layout-manager-pin-unpin-layout-panels-in-mvvm/CS/MainWindow.xaml#L27
</dxdo:DockLayoutManager.LayoutRoot>
<dxdo:DockLayoutManager.AutoHideGroups>
<dxdo:AutoHideGroup DockType="Right" Name="auotHideGroup"/>
wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L41
</dxdo:LayoutGroup>
<dxdo:DockLayoutManager.AutoHideGroups>
<dxdo:AutoHideGroup DockType="Right">
See Also