# C1.WPF.C1DragHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1DragHelper" data-uid="C1.WPF.C1DragHelper" class="text-break">C1DragHelper Class
</h1>
  <div class="markdown level0 summary"><p>Cross-platform helper for listening to drag gestures supporting inertia.</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"><span class="xref">C1DragHelper</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1DragHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1DragHelper</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1DragHelper</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_C1DragHelper__ctor_System_Windows_UIElement_C1_WPF_C1DragHelperMode_System_Double_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.WPF.C1DragHelper.#ctor(System.Windows.UIElement,C1.WPF.C1DragHelperMode,System.Double,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.WPF.C1DragHelper.-ctor.html#C1_WPF_C1DragHelper__ctor_System_Windows_UIElement_C1_WPF_C1DragHelperMode_System_Double_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">C1DragHelper(UIElement, C1DragHelperMode, double, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="C1.WPF.C1DragHelper.html">C1DragHelper</a>.</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_C1DragHelper_Complete" data-uid="C1.WPF.C1DragHelper.Complete">
          <a class="xref" href="C1.WPF.C1DragHelper.Complete.html#C1_WPF_C1DragHelper_Complete">Complete()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes drag gesture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_FinalizeDrag" data-uid="C1.WPF.C1DragHelper.FinalizeDrag">
          <a class="xref" href="C1.WPF.C1DragHelper.FinalizeDrag.html#C1_WPF_C1DragHelper_FinalizeDrag">FinalizeDrag()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches all the events handlers and releases captured element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_FinalizeHelper" data-uid="C1.WPF.C1DragHelper.FinalizeHelper">
          <a class="xref" href="C1.WPF.C1DragHelper.FinalizeHelper.html#C1_WPF_C1DragHelper_FinalizeHelper">FinalizeHelper()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches all the events handlers and releases captured element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1DragHelper_DragCompleted" data-uid="C1.WPF.C1DragHelper.DragCompleted">
          <a class="xref" href="C1.WPF.C1DragHelper.DragCompleted.html">DragCompleted</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after a drag gesture completed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_DragDelta" data-uid="C1.WPF.C1DragHelper.DragDelta">
          <a class="xref" href="C1.WPF.C1DragHelper.DragDelta.html">DragDelta</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs while a drag gesture is performed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_DragInertiaStarted" data-uid="C1.WPF.C1DragHelper.DragInertiaStarted">
          <a class="xref" href="C1.WPF.C1DragHelper.DragInertiaStarted.html">DragInertiaStarted</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the inertia is about to start.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_DragStarted" data-uid="C1.WPF.C1DragHelper.DragStarted">
          <a class="xref" href="C1.WPF.C1DragHelper.DragStarted.html">DragStarted</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a drag gesture started.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragHelper_DragStarting" data-uid="C1.WPF.C1DragHelper.DragStarting">
          <a class="xref" href="C1.WPF.C1DragHelper.DragStarting.html">DragStarting</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a drag gesture is about to start.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
