# FarPoint.Win.Spread.ConditionalStyleItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*">ConditionalStyleItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator)</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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_System_Boolean_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator,System.Boolean)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, bool ignoreCase)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, ignoreCase 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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ignoreCase</span></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the comparison should ignore the case; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_System_Object_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator,System.Object)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object)</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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value1</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_System_Object_System_Boolean_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator,System.Object,System.Boolean)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator, object, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, bool ignoreCase)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, ignoreCase 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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value1</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ignoreCase</span></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the comparison ignores the case; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a></p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_System_Object_System_Object_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator,System.Object,System.Object)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator, object, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, object value2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, value2 As Object)</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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value1</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the first operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value2</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the second operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_FarPoint_Win_Spread_AppearanceStyleInfo_FarPoint_Win_Spread_ConditionalStyleOperator_System_Object_System_Object_System_Boolean_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(FarPoint.Win.Spread.AppearanceStyleInfo,FarPoint.Win.Spread.ConditionalStyleOperator,System.Object,System.Object,System.Boolean)">ConditionalStyleItem(AppearanceStyleInfo, ConditionalStyleOperator, object, object, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</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 ConditionalStyleItem(AppearanceStyleInfo style, ConditionalStyleOperator op, object value1, object value2, bool ignoreCase)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As AppearanceStyleInfo, op As ConditionalStyleOperator, value1 As Object, value2 As Object, ignoreCase 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.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.CellStyle.html#FarPoint_Win_Spread_ConditionalStyleItem_CellStyle">CellStyle</a> that is applied to the <a class="xref" href="FarPoint.Win.Spread.Cell.html">Cell</a> when the condition matches.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value that the <a class="xref" href="FarPoint.Win.Spread.Cell.Value.html#FarPoint_Win_Spread_Cell_Value">Value</a> should match.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value1</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the first operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value2</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> that indicates the second operation value when <code class="paramref">op</code> needs several arguments.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ignoreCase</span></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the comparison should ignore the case; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>The <code class="paramref">style</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified value of <code class="paramref">op</code> is not a valid <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleOperator.html">ConditionalStyleOperator</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.ConditionalStyleItem.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">ConditionalStyleItem(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of this class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ConditionalStyleItem(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(info As SerializationInfo, context As StreamingContext)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>The information.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The context.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
