# C1.Framework.DrawUtil.DrawHighlightSelector

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_DrawUtil_DrawHighlightSelector_" data-uid="C1.Framework.DrawUtil.DrawHighlightSelector*">DrawHighlightSelector Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_DrawUtil_DrawHighlightSelector_" data-uid="C1.Framework.DrawUtil.DrawHighlightSelector*"></a>
<h4 id="C1_Framework_DrawUtil_DrawHighlightSelector_System_Drawing_Rectangle_System_Drawing_Graphics_System_Drawing_Brush_System_Boolean_System_Boolean_" data-uid="C1.Framework.DrawUtil.DrawHighlightSelector(System.Drawing.Rectangle,System.Drawing.Graphics,System.Drawing.Brush,System.Boolean,System.Boolean)">DrawHighlightSelector(Rectangle, Graphics, Brush, bool, bool)</h4>
<div class="markdown level1 summary"><p>Draws the highlight selector for the specified borders.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void DrawHighlightSelector(Rectangle bounds, Graphics g, Brush selectorBrush, bool rightToLeft, bool isHotPressed)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub DrawHighlightSelector(bounds As Rectangle, g As Graphics, selectorBrush As Brush, rightToLeft As Boolean, isHotPressed 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.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">bounds</span></td>
      <td><p>the cell bounds.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>the graphics context.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a></td>
      <td><span class="parametername">selectorBrush</span></td>
      <td><p>the selector brush.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">rightToLeft</span></td>
      <td><p>the right ot left flag.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isHotPressed</span></td>
      <td><p>the flag indicating the hot and pressed state of the selector.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
