# C1.Win.TrueDBGrid.GridRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_TrueDBGrid_GridRenderer" data-uid="C1.Win.TrueDBGrid.GridRenderer" class="text-break">GridRenderer Class
</h1>
  <div class="markdown level0 summary"><p>Base class for the grid renderers.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">GridRenderer</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TrueDBGrid.html">C1.Win.TrueDBGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TrueDBGrid.10.dll</h6>
  <h5 id="C1_Win_TrueDBGrid_GridRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GridRenderer</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class GridRenderer</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer__ctor" data-uid="C1.Win.TrueDBGrid.GridRenderer.#ctor">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.-ctor.html#C1_Win_TrueDBGrid_GridRenderer__ctor">GridRenderer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.html">GridRenderer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_BorderStyle" data-uid="C1.Win.TrueDBGrid.GridRenderer.BorderStyle">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.BorderStyle.html#C1_Win_TrueDBGrid_GridRenderer_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border style.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_DrawBorder_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Win.TrueDBGrid.GridRenderer.DrawBorder(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.DrawBorder.html#C1_Win_TrueDBGrid_GridRenderer_DrawBorder_System_Drawing_Graphics_System_Drawing_Rectangle_">DrawBorder(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_DrawBorder_System_Drawing_Graphics_System_Drawing_Rectangle_System_Windows_Forms_BorderStyle_System_Drawing_Color_" data-uid="C1.Win.TrueDBGrid.GridRenderer.DrawBorder(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.BorderStyle,System.Drawing.Color)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.DrawBorder.html#C1_Win_TrueDBGrid_GridRenderer_DrawBorder_System_Drawing_Graphics_System_Drawing_Rectangle_System_Windows_Forms_BorderStyle_System_Drawing_Color_">DrawBorder(Graphics, Rectangle, BorderStyle, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_GetBackgroundBrush_C1_Win_TrueDBGrid_BaseGrid_Frame_C1_Win_TrueDBGrid_GridRenderer_CellType_System_Drawing_Rectangle_" data-uid="C1.Win.TrueDBGrid.GridRenderer.GetBackgroundBrush(C1.Win.TrueDBGrid.BaseGrid.Frame,C1.Win.TrueDBGrid.GridRenderer.CellType,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.GetBackgroundBrush.html#C1_Win_TrueDBGrid_GridRenderer_GetBackgroundBrush_C1_Win_TrueDBGrid_BaseGrid_Frame_C1_Win_TrueDBGrid_GridRenderer_CellType_System_Drawing_Rectangle_">GetBackgroundBrush(Frame, CellType, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the background brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_GetBorderPen_C1_Win_TrueDBGrid_GridRenderer_CellType_" data-uid="C1.Win.TrueDBGrid.GridRenderer.GetBorderPen(C1.Win.TrueDBGrid.GridRenderer.CellType)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.GetBorderPen.html#C1_Win_TrueDBGrid_GridRenderer_GetBorderPen_C1_Win_TrueDBGrid_GridRenderer_CellType_">GetBorderPen(CellType)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the border pen.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_OnDrawCell_C1_Win_TrueDBGrid_BaseGrid_Frame_C1_Win_TrueDBGrid_OwnerDrawCellEventArgs_C1_Win_TrueDBGrid_GridRenderer_CellType_System_Boolean_" data-uid="C1.Win.TrueDBGrid.GridRenderer.OnDrawCell(C1.Win.TrueDBGrid.BaseGrid.Frame,C1.Win.TrueDBGrid.OwnerDrawCellEventArgs,C1.Win.TrueDBGrid.GridRenderer.CellType,System.Boolean)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.OnDrawCell.html#C1_Win_TrueDBGrid_GridRenderer_OnDrawCell_C1_Win_TrueDBGrid_BaseGrid_Frame_C1_Win_TrueDBGrid_OwnerDrawCellEventArgs_C1_Win_TrueDBGrid_GridRenderer_CellType_System_Boolean_">OnDrawCell(Frame, OwnerDrawCellEventArgs, CellType, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_StyleHasCustomBackground_C1_Win_TrueDBGrid_Style_" data-uid="C1.Win.TrueDBGrid.GridRenderer.StyleHasCustomBackground(C1.Win.TrueDBGrid.Style)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.StyleHasCustomBackground.html#C1_Win_TrueDBGrid_GridRenderer_StyleHasCustomBackground_C1_Win_TrueDBGrid_Style_">StyleHasCustomBackground(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Styles the has custom background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_StyleHasCustomBorder_C1_Win_TrueDBGrid_Style_" data-uid="C1.Win.TrueDBGrid.GridRenderer.StyleHasCustomBorder(C1.Win.TrueDBGrid.Style)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.StyleHasCustomBorder.html#C1_Win_TrueDBGrid_GridRenderer_StyleHasCustomBorder_C1_Win_TrueDBGrid_Style_">StyleHasCustomBorder(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Styles the has custom border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TrueDBGrid_GridRenderer_StyleHasRightBorder_C1_Win_TrueDBGrid_Style_System_Boolean_" data-uid="C1.Win.TrueDBGrid.GridRenderer.StyleHasRightBorder(C1.Win.TrueDBGrid.Style,System.Boolean)">
          <a class="xref" href="C1.Win.TrueDBGrid.GridRenderer.StyleHasRightBorder.html#C1_Win_TrueDBGrid_GridRenderer_StyleHasRightBorder_C1_Win_TrueDBGrid_Style_System_Boolean_">StyleHasRightBorder(Style, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Styles the has right border.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
