# C1.WPF.C1DragStartingEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1DragStartingEventArgs" data-uid="C1.WPF.C1DragStartingEventArgs" class="text-break">C1DragStartingEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Contains information of the DragStarting event.</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.eventargs">EventArgs</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.C1InputEventArgs.html">C1InputEventArgs</a></div>
    <div class="level3"><a class="xref" href="C1.WPF.C1DragEventArgs.html">C1DragEventArgs</a></div>
    <div class="level4"><span class="xref">C1DragStartingEventArgs</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_C1DragStartingEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1DragStartingEventArgs : C1DragEventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1DragStartingEventArgs
    Inherits C1DragEventArgs</code></pre>
  </div>
  <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_C1DragStartingEventArgs_Cancel" data-uid="C1.WPF.C1DragStartingEventArgs.Cancel">
          <a class="xref" href="C1.WPF.C1DragStartingEventArgs.Cancel.html#C1_WPF_C1DragStartingEventArgs_Cancel">Cancel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the recognizion of this gesture is canceled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragStartingEventArgs_CaptureElementOnPointerPressed" data-uid="C1.WPF.C1DragStartingEventArgs.CaptureElementOnPointerPressed">
          <a class="xref" href="C1.WPF.C1DragStartingEventArgs.CaptureElementOnPointerPressed.html#C1_WPF_C1DragStartingEventArgs_CaptureElementOnPointerPressed">CaptureElementOnPointerPressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the element will be captured in pointer pressed event (MouseLeftButtonDown in SL and WPF and PointerPressed in WinRT) or in the first pointer move event (MouseMove in SL and WPF and PointerMoved in WinRT).<remarks>Capturing the element on mouse down will cause Click, DoubleClick and MouseLeftButtonUp events not to be fired in sub-elements (nested elements in the visual tree), whereas capturing the element on the first mouse move can make it difficult for final users to drag small elements quickly.</remarks></p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragStartingEventArgs_InitialThreshold" data-uid="C1.WPF.C1DragStartingEventArgs.InitialThreshold">
          <a class="xref" href="C1.WPF.C1DragStartingEventArgs.InitialThreshold.html#C1_WPF_C1DragStartingEventArgs_InitialThreshold">InitialThreshold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels the gesture will have to pass in order to start.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1DragStartingEventArgs_Mode" data-uid="C1.WPF.C1DragStartingEventArgs.Mode">
          <a class="xref" href="C1.WPF.C1DragStartingEventArgs.Mode.html#C1_WPF_C1DragStartingEventArgs_Mode">Mode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode indicating the sort of drag to be listened.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
