# FarPoint.Win.Spread.ConditionalFormattingIconValue.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor*">ConditionalFormattingIconValue Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_System_Object_FarPoint_Win_Spread_ConditionalFormattingValueType_System_Boolean_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor(System.Object,FarPoint.Win.Spread.ConditionalFormattingValueType,System.Boolean)">ConditionalFormattingIconValue(object, ConditionalFormattingValueType, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingIconValue.html">ConditionalFormattingIconValue</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 ConditionalFormattingIconValue(object value, ConditionalFormattingValueType type, bool isGreaterOrEquals)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, type As ConditionalFormattingValueType, isGreaterOrEquals 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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingIconValue accepts only Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isGreaterOrEquals</span></td>
      <td><p>if set to <code>true</code> is greater or equal.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_System_Object_FarPoint_Win_Spread_ConditionalFormattingValueType_System_Boolean_FarPoint_Win_Spread_ConditionalFormattingIconSetIndex_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor(System.Object,FarPoint.Win.Spread.ConditionalFormattingValueType,System.Boolean,FarPoint.Win.Spread.ConditionalFormattingIconSetIndex)">ConditionalFormattingIconValue(object, ConditionalFormattingValueType, bool, ConditionalFormattingIconSetIndex)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingIconValue.html">ConditionalFormattingIconValue</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 ConditionalFormattingIconValue(object value, ConditionalFormattingValueType type, bool isGreaterOrEquals, ConditionalFormattingIconSetIndex iconSetIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, type As ConditionalFormattingValueType, isGreaterOrEquals As Boolean, iconSetIndex As ConditionalFormattingIconSetIndex)</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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingIconValue accepts only Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isGreaterOrEquals</span></td>
      <td><p>If set to <code>true</code> is greater or equal.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingIconSetIndex.html">ConditionalFormattingIconSetIndex</a></td>
      <td><span class="parametername">iconSetIndex</span></td>
      <td><p>The IconSetStyle object and icon index in IconSetStyle.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalFormattingIconValue__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.ConditionalFormattingIconValue.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">ConditionalFormattingIconValue(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.ConditionalFormattingValue.html">ConditionalFormattingValue</a> class from serialization.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected ConditionalFormattingIconValue(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected 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 System.Runtime.Serialization.SerializationInfo to populate with data.</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 destination (see System.Runtime.Serialization.StreamingContext) for this serialization.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
