# FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Model_SheetAxisModelChangingEventArgs__ctor_" data-uid="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.#ctor*">SheetAxisModelChangingEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Model_SheetAxisModelChangingEventArgs__ctor_" data-uid="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_SheetAxisModelChangingEventArgs__ctor_System_Int32_System_Int32_FarPoint_Win_Spread_Model_SheetAxisModelEventType_System_Int32_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.#ctor(System.Int32,System.Int32,FarPoint.Win.Spread.Model.SheetAxisModelEventType,System.Int32,System.Int32,System.Boolean,System.Boolean)">SheetAxisModelChangingEventArgs(int, int, SheetAxisModelEventType, int, int, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new Changing event arguments object for the axis model of the sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SheetAxisModelChangingEventArgs(int index, int count, SheetAxisModelEventType type, int currentSize, int newSize, bool currentVisible, bool newVisible)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(index As Integer, count As Integer, type As SheetAxisModelEventType, currentSize As Integer, newSize As Integer, currentVisible As Boolean, newVisible 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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The index where the event happens</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>The number of items being affected</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.SheetAxisModelEventType.html">SheetAxisModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The event type</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">currentSize</span></td>
      <td><p>The size of the current value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">newSize</span></td>
      <td><p>The size of the new value</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">currentVisible</span></td>
      <td><p>The value indicates whether current value is visible.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">newVisible</span></td>
      <td><p>The value indicates whether new value is visible</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Model_SheetAxisModelChangingEventArgs__ctor_" data-uid="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_SheetAxisModelChangingEventArgs__ctor_System_Int32_System_Int32_FarPoint_Win_Spread_Model_SheetAxisModelEventType_System_Boolean_" data-uid="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.#ctor(System.Int32,System.Int32,FarPoint.Win.Spread.Model.SheetAxisModelEventType,System.Boolean)">SheetAxisModelChangingEventArgs(int, int, SheetAxisModelEventType, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Model.SheetAxisModelChangingEventArgs.html">SheetAxisModelChangingEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SheetAxisModelChangingEventArgs(int index, int count, SheetAxisModelEventType type, bool layoutChanged)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(index As Integer, count As Integer, type As SheetAxisModelEventType, layoutChanged 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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>The count.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.SheetAxisModelEventType.html">SheetAxisModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">layoutChanged</span></td>
      <td><p>if set to <code>true</code> layout has changed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
