# FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor*">EnhancedRowHeaderRenderer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor*"></a>
<h4 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)">EnhancedRowHeaderRenderer(Color, Color, Color, Color, Color, Color)</h4>
<div class="markdown level1 summary"><p>Creates a new painter of the row header cells with the specified values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EnhancedRowHeaderRenderer(Color activeBackgroundColor, Color normalBackgroundColor, Color normalGridLineColor, Color selectedActiveBackgroundColor, Color selectedBackgroundColor, Color selectedGridLineColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(activeBackgroundColor As Color, normalBackgroundColor As Color, normalGridLineColor As Color, selectedActiveBackgroundColor As Color, selectedBackgroundColor As Color, selectedGridLineColor As Color)</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.color">Color</a></td>
      <td><span class="parametername">activeBackgroundColor</span></td>
      <td><p>Color of the background when in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">normalBackgroundColor</span></td>
      <td><p>Color of the background when not in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">normalGridLineColor</span></td>
      <td><p>Color of the grid line when not in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">selectedActiveBackgroundColor</span></td>
      <td><p>Color of the background when selected and in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">selectedBackgroundColor</span></td>
      <td><p>Color of the background when selected but not in focus</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">selectedGridLineColor</span></td>
      <td><p>Color of the grid line when selected</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor">EnhancedRowHeaderRenderer()</h4>
<div class="markdown level1 summary"><p>Creates a new painter of the row header cells with default values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EnhancedRowHeaderRenderer()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_CellType_EnhancedRowHeaderRenderer__ctor_" data-uid="FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer.#ctor*"></a>
<h4 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)">EnhancedRowHeaderRenderer(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Creates a new painter of the row header cells from serialization.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected EnhancedRowHeaderRenderer(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>Serialization information</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>Streaming context</p>
</td>
    </tr>
  </tbody>
</table>
</div>
