# C1.Win.Command.C1CommandDock

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_C1CommandDock" data-uid="C1.Win.Command.C1CommandDock" class="text-break">C1CommandDock Class
</h1>
  <div class="markdown level0 summary"><p>The C1CommandDock control provides docking and floating capabilities to C1Command toolbars (class C1ToolBar) and
tab controls (class C1DockingTab).</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.scrollablecontrol">ScrollableControl</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.panel">Panel</a></div>
    <div class="level6"><span class="xref">C1CommandDock</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Command.html">C1.Win.Command</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Command.10.dll</h6>
  <h5 id="C1_Win_Command_C1CommandDock_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1CommandDock), &quot;C1CommandDock.png&quot;)]
[C1Description(&quot;C1CommandDock&quot;, &quot;Provides docking and floating capabilities to C1ToolBar and C1DockingTab controls.&quot;)]
public class C1CommandDock : Panel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1CommandDock), &quot;C1CommandDock.png&quot;)&gt;
&lt;C1Description(&quot;C1CommandDock&quot;, &quot;Provides docking and floating capabilities to C1ToolBar and C1DockingTab controls.&quot;)&gt;
Public Class C1CommandDock
    Inherits Panel
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandDock__ctor" data-uid="C1.Win.Command.C1CommandDock.#ctor">
          <a class="xref" href="C1.Win.Command.C1CommandDock.-ctor.html#C1_Win_Command_C1CommandDock__ctor">C1CommandDock()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1CommandDock class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AllowFloat" data-uid="C1.Win.Command.C1CommandDock.AllowFloat">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AllowFloat.html#C1_Win_Command_C1CommandDock_AllowFloat">AllowFloat</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to allow floating C1ToolBar and C1DockingTab controls.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoCreated" data-uid="C1.Win.Command.C1CommandDock.AutoCreated">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoCreated.html#C1_Win_Command_C1CommandDock_AutoCreated">AutoCreated</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoDockBottom" data-uid="C1.Win.Command.C1CommandDock.AutoDockBottom">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoDockBottom.html#C1_Win_Command_C1CommandDock_AutoDockBottom">AutoDockBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to automatically create a dock area at the bottom.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoDockLeft" data-uid="C1.Win.Command.C1CommandDock.AutoDockLeft">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoDockLeft.html#C1_Win_Command_C1CommandDock_AutoDockLeft">AutoDockLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to automatically create a dock area on the left.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoDockRight" data-uid="C1.Win.Command.C1CommandDock.AutoDockRight">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoDockRight.html#C1_Win_Command_C1CommandDock_AutoDockRight">AutoDockRight</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to automatically create a dock area on the right.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoDockTop" data-uid="C1.Win.Command.C1CommandDock.AutoDockTop">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoDockTop.html#C1_Win_Command_C1CommandDock_AutoDockTop">AutoDockTop</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to automatically create a dock area at the top.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_AutoSize" data-uid="C1.Win.Command.C1CommandDock.AutoSize">
          <a class="xref" href="C1.Win.Command.C1CommandDock.AutoSize.html#C1_Win_Command_C1CommandDock_AutoSize">AutoSize</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or returns whether the dock automatically adjusts its size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_CentralTabMinimumSize" data-uid="C1.Win.Command.C1CommandDock.CentralTabMinimumSize">
          <a class="xref" href="C1.Win.Command.C1CommandDock.CentralTabMinimumSize.html#C1_Win_Command_C1CommandDock_CentralTabMinimumSize">CentralTabMinimumSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines how the central tab width is calculated when there are two pages of tabs
docked on the left and right.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_Dock" data-uid="C1.Win.Command.C1CommandDock.Dock">
          <a class="xref" href="C1.Win.Command.C1CommandDock.Dock.html#C1_Win_Command_C1CommandDock_Dock">Dock</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_DockingStyle" data-uid="C1.Win.Command.C1CommandDock.DockingStyle">
          <a class="xref" href="C1.Win.Command.C1CommandDock.DockingStyle.html#C1_Win_Command_C1CommandDock_DockingStyle">DockingStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies docking behavior of C1DockingTab controls.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_FloatHide" data-uid="C1.Win.Command.C1CommandDock.FloatHide">
          <a class="xref" href="C1.Win.Command.C1CommandDock.FloatHide.html#C1_Win_Command_C1CommandDock_FloatHide">FloatHide</a>
        </td>
        <td class="markdown level1 summary"><p>Defines behavior of floating windows when the application loses focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_Horizontal" data-uid="C1.Win.Command.C1CommandDock.Horizontal">
          <a class="xref" href="C1.Win.Command.C1CommandDock.Horizontal.html#C1_Win_Command_C1CommandDock_Horizontal">Horizontal</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_LayoutEngine" data-uid="C1.Win.Command.C1CommandDock.LayoutEngine">
          <a class="xref" href="C1.Win.Command.C1CommandDock.LayoutEngine.html#C1_Win_Command_C1CommandDock_LayoutEngine">LayoutEngine</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_ScaleChildren" data-uid="C1.Win.Command.C1CommandDock.ScaleChildren">
          <a class="xref" href="C1.Win.Command.C1CommandDock.ScaleChildren.html#C1_Win_Command_C1CommandDock_ScaleChildren">ScaleChildren</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_BeginInit" data-uid="C1.Win.Command.C1CommandDock.BeginInit">
          <a class="xref" href="C1.Win.Command.C1CommandDock.BeginInit.html#C1_Win_Command_C1CommandDock_BeginInit">BeginInit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_Dispose_System_Boolean_" data-uid="C1.Win.Command.C1CommandDock.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.Dispose.html#C1_Win_Command_C1CommandDock_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the C1CommandDock.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_DockOrFloatChild_System_Windows_Forms_Control_System_Drawing_Point_" data-uid="C1.Win.Command.C1CommandDock.DockOrFloatChild(System.Windows.Forms.Control,System.Drawing.Point)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.DockOrFloatChild.html#C1_Win_Command_C1CommandDock_DockOrFloatChild_System_Windows_Forms_Control_System_Drawing_Point_">DockOrFloatChild(Control, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Docs or floats the specified control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_EndInit" data-uid="C1.Win.Command.C1CommandDock.EndInit">
          <a class="xref" href="C1.Win.Command.C1CommandDock.EndInit.html#C1_Win_Command_C1CommandDock_EndInit">EndInit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_InitLayout" data-uid="C1.Win.Command.C1CommandDock.InitLayout">
          <a class="xref" href="C1.Win.Command.C1CommandDock.InitLayout.html#C1_Win_Command_C1CommandDock_InitLayout">InitLayout()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnBackColorChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnBackColorChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnBackColorChanged.html#C1_Win_Command_C1CommandDock_OnBackColorChanged_System_EventArgs_">OnBackColorChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnBackgroundImageChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnBackgroundImageChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnBackgroundImageChanged.html#C1_Win_Command_C1CommandDock_OnBackgroundImageChanged_System_EventArgs_">OnBackgroundImageChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnControlAdded_System_Windows_Forms_ControlEventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnControlAdded(System.Windows.Forms.ControlEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnControlAdded.html#C1_Win_Command_C1CommandDock_OnControlAdded_System_Windows_Forms_ControlEventArgs_">OnControlAdded(ControlEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnControlRemoved_System_Windows_Forms_ControlEventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnControlRemoved(System.Windows.Forms.ControlEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnControlRemoved.html#C1_Win_Command_C1CommandDock_OnControlRemoved_System_Windows_Forms_ControlEventArgs_">OnControlRemoved(ControlEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnDockChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnDockChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnDockChanged.html#C1_Win_Command_C1CommandDock_OnDockChanged_System_EventArgs_">OnDockChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnEnabledChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnEnabledChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnEnabledChanged.html#C1_Win_Command_C1CommandDock_OnEnabledChanged_System_EventArgs_">OnEnabledChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnFontChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnFontChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnFontChanged.html#C1_Win_Command_C1CommandDock_OnFontChanged_System_EventArgs_">OnFontChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnForeColorChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnForeColorChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnForeColorChanged.html#C1_Win_Command_C1CommandDock_OnForeColorChanged_System_EventArgs_">OnForeColorChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnPaint.html#C1_Win_Command_C1CommandDock_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnParentChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnParentChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnParentChanged.html#C1_Win_Command_C1CommandDock_OnParentChanged_System_EventArgs_">OnParentChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnResize_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnResize(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnResize.html#C1_Win_Command_C1CommandDock_OnResize_System_EventArgs_">OnResize(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_OnStyleChanged_System_EventArgs_" data-uid="C1.Win.Command.C1CommandDock.OnStyleChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.OnStyleChanged.html#C1_Win_Command_C1CommandDock_OnStyleChanged_System_EventArgs_">OnStyleChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandDock_ScaleControl_System_Drawing_SizeF_System_Windows_Forms_BoundsSpecified_" data-uid="C1.Win.Command.C1CommandDock.ScaleControl(System.Drawing.SizeF,System.Windows.Forms.BoundsSpecified)">
          <a class="xref" href="C1.Win.Command.C1CommandDock.ScaleControl.html#C1_Win_Command_C1CommandDock_ScaleControl_System_Drawing_SizeF_System_Windows_Forms_BoundsSpecified_">ScaleControl(SizeF, BoundsSpecified)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
