# FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor*">ConditionalFormattingModelEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_FarPoint_Web_Spread_ConditionalFormatting_FarPoint_Web_Spread_ConditionalFormattingModelEventType_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor(FarPoint.Web.Spread.ConditionalFormatting,FarPoint.Web.Spread.ConditionalFormattingModelEventType)">ConditionalFormattingModelEventArgs(ConditionalFormatting, ConditionalFormattingModelEventType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.html">ConditionalFormattingModelEventArgs</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 ConditionalFormattingModelEventArgs(ConditionalFormatting conditionalFormatting, ConditionalFormattingModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(conditionalFormatting As ConditionalFormatting, type As ConditionalFormattingModelEventType)</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.ConditionalFormatting.html">ConditionalFormatting</a></td>
      <td><span class="parametername">conditionalFormatting</span></td>
      <td><p>The conditional formatting.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventType.html">ConditionalFormattingModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_FarPoint_Web_Spread_ConditionalFormatting___FarPoint_Web_Spread_ConditionalFormattingModelEventType_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor(FarPoint.Web.Spread.ConditionalFormatting[],FarPoint.Web.Spread.ConditionalFormattingModelEventType)">ConditionalFormattingModelEventArgs(ConditionalFormatting[], ConditionalFormattingModelEventType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.html">ConditionalFormattingModelEventArgs</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 ConditionalFormattingModelEventArgs(ConditionalFormatting[] conditionalFormattings, ConditionalFormattingModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(conditionalFormattings As ConditionalFormatting(), type As ConditionalFormattingModelEventType)</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.ConditionalFormatting.html">ConditionalFormatting</a>[]</td>
      <td><span class="parametername">conditionalFormattings</span></td>
      <td><p>The conditional formatting array.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventType.html">ConditionalFormattingModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_ConditionalFormattingModelEventType_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Web.Spread.ConditionalFormattingModelEventType)">ConditionalFormattingModelEventArgs(int, int, int, int, ConditionalFormattingModelEventType)</h4>
<div class="markdown level1 summary"><p>Creates a new Changed event arguments object for the conditional formatting model for 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 ConditionalFormattingModelEventArgs(int row, int column, int rowCount, int columnCount, ConditionalFormattingModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, type As ConditionalFormattingModelEventType)</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">row</span></td>
      <td><p>Row 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">column</span></td>
      <td><p>Column 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">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventType.html">ConditionalFormattingModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of change that occurred in the conditional formatting model</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingModelEventArgs__ctor_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_ConditionalFormattingModelEventType_" data-uid="FarPoint.Web.Spread.ConditionalFormattingModelEventArgs.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Web.Spread.ConditionalFormattingModelEventType)">ConditionalFormattingModelEventArgs(int, int, int, int, int, int, ConditionalFormattingModelEventType)</h4>
<div class="markdown level1 summary"><p>Creates a new Changed event arguments object for the conditional formatting model for 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 ConditionalFormattingModelEventArgs(int row, int column, int rowCount, int columnCount, int targetRow, int targetColumn, ConditionalFormattingModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, targetRow As Integer, targetColumn As Integer, type As ConditionalFormattingModelEventType)</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">row</span></td>
      <td><p>Row 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">column</span></td>
      <td><p>Column 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">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">targetRow</span></td>
      <td><p>Target row 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">targetColumn</span></td>
      <td><p>Target column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingModelEventType.html">ConditionalFormattingModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of change that occurred in the conditional formatting model</p>
</td>
    </tr>
  </tbody>
</table>
</div>
