# C1.WPF.Docking.C1DockPickerPart

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Docking_C1DockPickerPart" data-uid="C1.WPF.Docking.C1DockPickerPart" class="text-break">C1DockPickerPart Class
</h1>
  <div class="markdown level0 summary"><p>The areas to drop a grabbed <a class="xref" href="C1.WPF.Docking.C1DockTabControl.html">C1DockTabControl</a> or <a class="xref" href="C1.WPF.Docking.C1DockTabItem.html">C1DockTabItem</a>.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><span class="xref">C1DockPickerPart</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Docking.html">C1.WPF.Docking</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Docking.4.6.2.dll</h6>
  <h5 id="C1_WPF_Docking_C1DockPickerPart_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplateVisualState(Name = &quot;DropPositionLeft&quot;, GroupName = &quot;DropPositionStates&quot;)]
[TemplateVisualState(Name = &quot;DropPositionTop&quot;, GroupName = &quot;DropPositionStates&quot;)]
[TemplateVisualState(Name = &quot;DropPositionRight&quot;, GroupName = &quot;DropPositionStates&quot;)]
[TemplateVisualState(Name = &quot;DropPositionBottom&quot;, GroupName = &quot;DropPositionStates&quot;)]
[TemplateVisualState(Name = &quot;DropPositionOver&quot;, GroupName = &quot;DropPositionStates&quot;)]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;DragOver&quot;, GroupName = &quot;CommonStates&quot;)]
public class C1DockPickerPart : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplateVisualState(Name:=&quot;DropPositionLeft&quot;, GroupName:=&quot;DropPositionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;DropPositionTop&quot;, GroupName:=&quot;DropPositionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;DropPositionRight&quot;, GroupName:=&quot;DropPositionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;DropPositionBottom&quot;, GroupName:=&quot;DropPositionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;DropPositionOver&quot;, GroupName:=&quot;DropPositionStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;DragOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
Public Class C1DockPickerPart
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</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_WPF_Docking_C1DockPickerPart__ctor" data-uid="C1.WPF.Docking.C1DockPickerPart.#ctor">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.-ctor.html#C1_WPF_Docking_C1DockPickerPart__ctor">C1DockPickerPart()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.html">C1DockPickerPart</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_DropPositionProperty" data-uid="C1.WPF.Docking.C1DockPickerPart.DropPositionProperty">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.DropPositionProperty.html">DropPositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.DropPosition.html#C1_WPF_Docking_C1DockPickerPart_DropPosition">DropPosition</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_IsDragOverProperty" data-uid="C1.WPF.Docking.C1DockPickerPart.IsDragOverProperty">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsDragOverProperty.html">IsDragOverProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsDragOver.html#C1_WPF_Docking_C1DockPickerPart_IsDragOver">IsDragOver</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_IsOuterProperty" data-uid="C1.WPF.Docking.C1DockPickerPart.IsOuterProperty">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsOuterProperty.html">IsOuterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsOuter.html#C1_WPF_Docking_C1DockPickerPart_IsOuter">IsOuter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_PickerStateProperty" data-uid="C1.WPF.Docking.C1DockPickerPart.PickerStateProperty">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.PickerStateProperty.html">PickerStateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.PickerState.html#C1_WPF_Docking_C1DockPickerPart_PickerState">PickerState</a> dependency property.</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_WPF_Docking_C1DockPickerPart_DropPosition" data-uid="C1.WPF.Docking.C1DockPickerPart.DropPosition">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.DropPosition.html#C1_WPF_Docking_C1DockPickerPart_DropPosition">DropPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the desired target position for the dragged C1DockTabControl or C1DockTabItem.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_IsDragOver" data-uid="C1.WPF.Docking.C1DockPickerPart.IsDragOver">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsDragOver.html#C1_WPF_Docking_C1DockPickerPart_IsDragOver">IsDragOver</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the user is dragging a <a class="xref" href="C1.WPF.Docking.C1DockTabItem.html">C1DockTabItem</a> or <a class="xref" href="C1.WPF.Docking.C1DockTabControl.html">C1DockTabControl</a> over the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_IsOuter" data-uid="C1.WPF.Docking.C1DockPickerPart.IsOuter">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.IsOuter.html#C1_WPF_Docking_C1DockPickerPart_IsOuter">IsOuter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the picker part signals that the desired position is relative to the whole <a class="xref" href="C1.WPF.Docking.C1DockControl.html">C1DockControl</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_PickerState" data-uid="C1.WPF.Docking.C1DockPickerPart.PickerState">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.PickerState.html#C1_WPF_Docking_C1DockPickerPart_PickerState">PickerState</a>
        </td>
        <td class="markdown level1 summary"><p>Internal property. Bind it to the Picker property of the same name so that the picker part hides itself when necessary.</p>
</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_WPF_Docking_C1DockPickerPart_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.Docking.C1DockPickerPart.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.ChangeVisualStateCommon.html#C1_WPF_Docking_C1DockPickerPart_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_ChangeVisualStateDropPosition_System_Boolean_" data-uid="C1.WPF.Docking.C1DockPickerPart.ChangeVisualStateDropPosition(System.Boolean)">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.ChangeVisualStateDropPosition.html#C1_WPF_Docking_C1DockPickerPart_ChangeVisualStateDropPosition_System_Boolean_">ChangeVisualStateDropPosition(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the DropPosition visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Docking_C1DockPickerPart_OnApplyTemplate" data-uid="C1.WPF.Docking.C1DockPickerPart.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.OnApplyTemplate.html#C1_WPF_Docking_C1DockPickerPart_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Docking.C1DockPickerPart.html">C1DockPickerPart</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
