# FarPoint.Win.Spread.SheetDragMovingEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_SheetDragMovingEventArgs" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs" class="text-break">SheetDragMovingEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Represents the event data for the SheetDragMoving event for the Spread component,
which occurs when the user drags the sheet tab to the destination sheet tab.</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"><span class="xref">SheetDragMovingEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_SheetDragMovingEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SheetDragMovingEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SheetDragMovingEventArgs
    Inherits EventArgs</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="FarPoint_Win_Spread_SheetDragMovingEventArgs__ctor_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.SheetDragMovingEventArgs.-ctor.html#FarPoint_Win_Spread_SheetDragMovingEventArgs__ctor_System_Int32_System_Int32_">SheetDragMovingEventArgs(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object with the SheetDragMoving event arguments.</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="FarPoint_Win_Spread_SheetDragMovingEventArgs_Cancel" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs.Cancel">
          <a class="xref" href="FarPoint.Win.Spread.SheetDragMovingEventArgs.Cancel.html#FarPoint_Win_Spread_SheetDragMovingEventArgs_Cancel">Cancel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to cancel the sheet drag and move action.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SheetDragMovingEventArgs_Restrict" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs.Restrict">
          <a class="xref" href="FarPoint.Win.Spread.SheetDragMovingEventArgs.Restrict.html#FarPoint_Win_Spread_SheetDragMovingEventArgs_Restrict">Restrict</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to allow the sheet to be moved to the ToSheetIndex location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SheetDragMovingEventArgs_SheetIndex" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs.SheetIndex">
          <a class="xref" href="FarPoint.Win.Spread.SheetDragMovingEventArgs.SheetIndex.html#FarPoint_Win_Spread_SheetDragMovingEventArgs_SheetIndex">SheetIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the sheet that is being moved.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SheetDragMovingEventArgs_ToSheetIndex" data-uid="FarPoint.Win.Spread.SheetDragMovingEventArgs.ToSheetIndex">
          <a class="xref" href="FarPoint.Win.Spread.SheetDragMovingEventArgs.ToSheetIndex.html#FarPoint_Win_Spread_SheetDragMovingEventArgs_ToSheetIndex">ToSheetIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the new position where the sheet is being moved.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
