# FarPoint.Web.Spread.SheetViewStateEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_SheetViewStateEventArgs__ctor_" data-uid="FarPoint.Web.Spread.SheetViewStateEventArgs.#ctor*">SheetViewStateEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_SheetViewStateEventArgs__ctor_" data-uid="FarPoint.Web.Spread.SheetViewStateEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_SheetViewStateEventArgs__ctor_FarPoint_Web_Spread_SheetView_System_Int32_System_Boolean_" data-uid="FarPoint.Web.Spread.SheetViewStateEventArgs.#ctor(FarPoint.Web.Spread.SheetView,System.Int32,System.Boolean)">SheetViewStateEventArgs(SheetView, int, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new object with the SheetViewState event arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SheetViewStateEventArgs(SheetView sheet, int index, bool save)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheet As SheetView, index As Integer, save As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Sheet (SheetView object) whose state is to be loaded or saved</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>Index of the collection that contains the sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">save</span></td>
      <td><p>Whether the state of the sheet is saved</p>
</td>
    </tr>
  </tbody>
</table>
</div>
