# FarPoint.Win.Spread.GetCustomIconHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_GetCustomIconHandler" data-uid="FarPoint.Win.Spread.GetCustomIconHandler" class="text-break">GetCustomIconHandler Delegate
</h1>
  <div class="markdown level0 summary"><p>Represents the delegate for measuring size of an icon for the icon conditional formatting rule in a cell.</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_GetCustomIconHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate Icon GetCustomIconHandler(object sender, GetCustomIconEventArgs args)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Function GetCustomIconHandler(sender As Object, args As GetCustomIconEventArgs) As Icon</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">sender</span></td>
        <td><p>The sender.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="FarPoint.Win.Spread.GetCustomIconEventArgs.html">GetCustomIconEventArgs</a></td>
        <td><span class="parametername">args</span></td>
        <td><p>The <a class="xref" href="FarPoint.Win.Spread.GetCustomIconEventArgs.html">GetCustomIconEventArgs</a> instance that contains the event data.</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="https://learn.microsoft.com/dotnet/api/system.drawing.icon">Icon</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>

</div>
