AutoHideGroup.DockType Property

Gets or sets the DockLayoutManager‘s side to which the AutoHideGroup is docked. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

Declaration

public Dock DockType { get; set; }

Property Value

Type Description
Dock

The DockLayoutManager‘s side to which the current AutoHideGroup object is docked.

Remarks

The following code sample displays two auto-hide groups docked to the left and right sides of the DockLayoutManager:

<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager>
    <dxdo:DockLayoutManager.AutoHideGroups>
      <!--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>
      <!--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:DockLayoutManager.AutoHideGroups>
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>
See Also