# FarPoint.Win.Spread.DynamicCellStyleConditionHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DynamicCellStyleConditionHandler" data-uid="FarPoint.Win.Spread.DynamicCellStyleConditionHandler" class="text-break">DynamicCellStyleConditionHandler Delegate
</h1>
  <div class="markdown level0 summary"><p>Represents a method that returns a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> with the specified <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DynamicCellStyleConditionHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate AppearanceStyleInfo DynamicCellStyleConditionHandler(DynamicStyleInfoContext context)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Function DynamicCellStyleConditionHandler(context As DynamicStyleInfoContext) As AppearanceStyleInfo</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.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a></td>
        <td><span class="parametername">context</span></td>
        <td><p>A <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfoContext.html">DynamicStyleInfoContext</a> value that indicates the current context of GcMultiRow.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</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.AppearanceStyleInfo.html">AppearanceStyleInfo</a></td>
        <td><p>A <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> that represents the actual CellStyle object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="FarPoint_Win_Spread_DynamicCellStyleConditionHandler_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a> class defines a <a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.ConditionHandler.html#FarPoint_Win_Spread_DynamicStyleInfo_ConditionHandler">ConditionHandler</a> which is a DynamicCellStyleConditionHandler type. This allows you to attach an<br>
event handling method, that can return a <a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a> with the given <code class="paramref">context</code> dynamically.</p>
</div>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="FarPoint.Win.Spread.AppearanceStyleInfo.html">AppearanceStyleInfo</a></div>
      <div><a class="xref" href="FarPoint.Win.Spread.DynamicStyleInfo.html">DynamicStyleInfo</a></div>
  </div>

</div>
