# FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer" class="text-break">EnhancedRowHeaderRenderer Class
</h1>
  <div class="markdown level0 summary"><p>Represents the painting of the row header cells with the look and feel of Excel 2007.</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"><a class="xref" href="FarPoint.Win.Spread.CellType.ColumnHeaderRenderer.html">ColumnHeaderRenderer</a></div>
    <div class="level2"><span class="xref">EnhancedRowHeaderRenderer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IRenderer.html">IRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IHeaderImages.html">IHeaderImages</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IWordWrapSupport.html">IWordWrapSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IShrinkToFitSupport.html">IShrinkToFitSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IPdfSupport.html">IPdfSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IRenderCellGridLine.html">IRenderCellGridLine</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(_uh))]
public class EnhancedRowHeaderRenderer : ColumnHeaderRenderer, IRenderer, IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, IRenderCellGridLine, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(_uh))&gt;
Public Class EnhancedRowHeaderRenderer
    Inherits ColumnHeaderRenderer
    Implements IRenderer, IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, IRenderCellGridLine, ISerializable, ISerializeSupport</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="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.-ctor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor">EnhancedRowHeaderRenderer()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new painter of the row header cells with default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.-ctor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_">EnhancedRowHeaderRenderer(Color, Color, Color, Color, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new painter of the row header cells with the specified values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.-ctor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">EnhancedRowHeaderRenderer(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new painter of the row header cells from serialization.</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="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_ActiveBackgroundColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.ActiveBackgroundColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.ActiveBackgroundColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_ActiveBackgroundColor">ActiveBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the active background.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_NormalBackgroundColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.NormalBackgroundColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.NormalBackgroundColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_NormalBackgroundColor">NormalBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the normal background.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_NormalGridLineColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.NormalGridLineColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.NormalGridLineColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_NormalGridLineColor">NormalGridLineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the normal grid lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedActiveBackgroundColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedActiveBackgroundColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedActiveBackgroundColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedActiveBackgroundColor">SelectedActiveBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the selected active background.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedBackgroundColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedBackgroundColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedBackgroundColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedBackgroundColor">SelectedBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the selected background.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedGridLineColor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedGridLineColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.SelectedGridLineColor.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_SelectedGridLineColor">SelectedGridLineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the selected grid lines.</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="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.GetObjectData.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintBackground_System_Drawing_Graphics_System_Boolean__System_Boolean_System_Boolean_System_Boolean_System_Drawing_Rectangle_System_Int32_System_Int32_FarPoint_Win_VisualStyles_System_Boolean_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintBackground(System.Drawing.Graphics,System.Boolean@,System.Boolean,System.Boolean,System.Boolean,System.Drawing.Rectangle,System.Int32,System.Int32,FarPoint.Win.VisualStyles,System.Boolean,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintBackground.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintBackground_System_Drawing_Graphics_System_Boolean__System_Boolean_System_Boolean_System_Boolean_System_Drawing_Rectangle_System_Int32_System_Int32_FarPoint_Win_VisualStyles_System_Boolean_System_Drawing_Color_">PaintBackground(Graphics, ref bool, bool, bool, bool, Rectangle, int, int, VisualStyles, bool, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the background of the enhanced header cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintCell_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintCell(System.Drawing.Graphics,System.Drawing.Rectangle,FarPoint.Win.Spread.Appearance,System.Object,System.Boolean,System.Boolean,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintCell.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintCell_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_">PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the row header cell when not in edit mode to the specified graphics interface
with the specified appearance settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintCellGridLine_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_Appearance_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintCellGridLine(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Win.Spread.Appearance)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintCellGridLine.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintCellGridLine_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_Appearance_">PaintCellGridLine(Graphics, int, int, int, int, Appearance)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the grid lines for the cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintHeader_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_System_Boolean_FarPoint_Win_Spread_Appearance_System_Double_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintHeader(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Boolean,System.Boolean,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Image,System.Drawing.Image,System.Boolean,System.Drawing.Text.HotkeyPrefix,FarPoint.Win.VisualStyles,System.Boolean,System.Boolean,FarPoint.Win.Spread.Appearance,System.Double)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintHeader.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintHeader_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_System_Boolean_FarPoint_Win_Spread_Appearance_System_Double_">PaintHeader(Graphics, Rectangle, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, bool, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, HotkeyPrefix, VisualStyles, bool, bool, Appearance, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the header cell with the look and feel of Excel 2007.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintHeader_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_System_Boolean_FarPoint_Win_Spread_Appearance_System_Double_System_Single_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintHeader(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Boolean,System.Boolean,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Image,System.Drawing.Image,System.Boolean,System.Drawing.Text.HotkeyPrefix,FarPoint.Win.VisualStyles,System.Boolean,System.Boolean,FarPoint.Win.Spread.Appearance,System.Double,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.PaintHeader.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_PaintHeader_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_System_Boolean_FarPoint_Win_Spread_Appearance_System_Double_System_Single_">PaintHeader(Graphics, Rectangle, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, bool, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, HotkeyPrefix, VisualStyles, bool, bool, Appearance, double, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the header cell with the look and feel of Excel 2007.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_ToString" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.ToString">
          <a class="xref" href="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.ToString.html#FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the name of the renderer.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
