# C1.WinUI.Core.C1DragHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Core_C1DragHelper" data-uid="C1.WinUI.Core.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.WinUI.Core.html">C1.WinUI.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Core.dll</h6>
  <h5 id="C1_WinUI_Core_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_WinUI_Core_C1DragHelper__ctor_Microsoft_UI_Xaml_FrameworkElement_C1_WinUI_Core_C1DragHelperMode_System_Nullable_System_Double__System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.WinUI.Core.C1DragHelper.#ctor(Microsoft.UI.Xaml.FrameworkElement,C1.WinUI.Core.C1DragHelperMode,System.Nullable{System.Double},System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.WinUI.Core.C1DragHelper.-ctor.html#C1_WinUI_Core_C1DragHelper__ctor_Microsoft_UI_Xaml_FrameworkElement_C1_WinUI_Core_C1DragHelperMode_System_Nullable_System_Double__System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">C1DragHelper(FrameworkElement, C1DragHelperMode, double?, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="C1.WinUI.Core.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_WinUI_Core_C1DragHelper_Complete" data-uid="C1.WinUI.Core.C1DragHelper.Complete">
          <a class="xref" href="C1.WinUI.Core.C1DragHelper.Complete.html#C1_WinUI_Core_C1DragHelper_Complete">Complete()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes drag gesture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1DragHelper_FinalizeHelper" data-uid="C1.WinUI.Core.C1DragHelper.FinalizeHelper">
          <a class="xref" href="C1.WinUI.Core.C1DragHelper.FinalizeHelper.html#C1_WinUI_Core_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_WinUI_Core_C1DragHelper_DragCompleted" data-uid="C1.WinUI.Core.C1DragHelper.DragCompleted">
          <a class="xref" href="C1.WinUI.Core.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_WinUI_Core_C1DragHelper_DragDelta" data-uid="C1.WinUI.Core.C1DragHelper.DragDelta">
          <a class="xref" href="C1.WinUI.Core.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_WinUI_Core_C1DragHelper_DragInertiaStarted" data-uid="C1.WinUI.Core.C1DragHelper.DragInertiaStarted">
          <a class="xref" href="C1.WinUI.Core.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_WinUI_Core_C1DragHelper_DragPreview" data-uid="C1.WinUI.Core.C1DragHelper.DragPreview">
          <a class="xref" href="C1.WinUI.Core.C1DragHelper.DragPreview.html">DragPreview</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before a drag gesture starts giving the user the opportunity to configure the kind of gesture that will be listened based on the point where the manipulation started.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1DragHelper_DragStarted" data-uid="C1.WinUI.Core.C1DragHelper.DragStarted">
          <a class="xref" href="C1.WinUI.Core.C1DragHelper.DragStarted.html">DragStarted</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a drag gesture started.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
