Back to Devexpress

AutoHideGroup.DockType Property

wpf-devexpress-dot-xpf-dot-docking-dot-autohidegroup-5d06c890.md

latest4.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public Dock DockType { get; set; }
vb
Public Property DockType As Dock

Property Value

TypeDescription
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:

xaml
<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>

The following code snippets (auto-collected from DevExpress Examples) contain references to the DockType 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#L30

xml
<dxdo:DockLayoutManager.AutoHideGroups>
    <dxdo:AutoHideGroup DockType="Right">
        <dxdo:LayoutPanel AllowClose="False"

wpf-dock-layout-manager-pin-unpin-layout-panels-in-mvvm/CS/MainWindow.xaml#L28

xml
<dxdo:DockLayoutManager.AutoHideGroups>
    <dxdo:AutoHideGroup DockType="Right" Name="auotHideGroup"/>
</dxdo:DockLayoutManager.AutoHideGroups>

wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L42

xml
<dxdo:DockLayoutManager.AutoHideGroups>
    <dxdo:AutoHideGroup DockType="Right">
        <dxdo:LayoutPanel AllowClose="False"

See Also

DockTypeChanged

AutoHideGroup Class

AutoHideGroup Members

DevExpress.Xpf.Docking Namespace