DockLayoutManager.AutoHideGroups Property

A collection of AutoHideGroup objects.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v21.1.dll

Declaration

public AutoHideGroupCollection AutoHideGroups { get; }

Property Value

Type Description
AutoHideGroupCollection

A collection of AutoHideGroup objects that contains auto-hidden panels.

Remarks

Follow the steps below to create an auto-hidden panel in XAML:

  1. Add a AutoHideGroup object to the AutoHideGroups collection.
  2. Add a panel(s) to the created AutoHideGroup.

Note

Use the AutoHideGroup.DockType property to specify the DockLayoutManager‘s side where an auto-hidden group is docked.

Example

This example shows how to create auto-hidden panels in XAML. To create auto-hidden panels:

1) AutoHideGroup objects are added to the DockLayoutManager.AutoHideGroups collection.

2) Panels are added to the corresponding AutoHideGroup object.

View Example

<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>
See Also