# FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler*">ConditionHandler Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler_" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler*"></a>
<h4 id="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler" data-uid="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler">ConditionHandler</h4>
<div class="markdown level1 summary"><p>Gets or sets a condition handler that generates an actual <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual DynamicCellStyleConditionHandler ConditionHandler { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property ConditionHandler As DynamicCellStyleConditionHandler</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.DynamicCellStyleConditionHandler.html">DynamicCellStyleConditionHandler</a></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.DynamicCellStyleConditionHandler.html">DynamicCellStyleConditionHandler</a> delegate that returns an actual <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can attach the <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler.html#FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler">ConditionHandler</a> event handling method, and return a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> with the given <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a>.</p>
</div>
<h5 id="FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="FarPoint.Win.Spread.DynamicCellStyleConditionHandler.html">DynamicCellStyleConditionHandler</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a></div>
</div>
</div>
