# FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer" class="text-break">BaseHeaderFlatStyleRenderer Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base header flat style renderer.</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">BaseHeaderFlatStyleRenderer</span></div>
      <div class="level3"><a class="xref" href="FarPoint.Win.Spread.CellType.FlatColumnFooterRenderer.html">FlatColumnFooterRenderer</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Win.Spread.CellType.FlatColumnHeaderRenderer.html">FlatColumnHeaderRenderer</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Win.Spread.CellType.FlatFilterBarHeaderRenderer.html">FlatFilterBarHeaderRenderer</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Win.Spread.CellType.FlatRowHeaderRenderer.html">FlatRowHeaderRenderer</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.IRenderer.html">IRenderer</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_BaseHeaderFlatStyleRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Browsable(false)]
public abstract class BaseHeaderFlatStyleRenderer : ColumnHeaderRenderer, IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, IRenderer, IRenderCellGridLine, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public MustInherit Class BaseHeaderFlatStyleRenderer
    Inherits ColumnHeaderRenderer
    Implements IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, IRenderer, 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_BaseHeaderFlatStyleRenderer__ctor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.-ctor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer__ctor">BaseHeaderFlatStyleRenderer()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.html">BaseHeaderFlatStyleRenderer</a></p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.-ctor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">BaseHeaderFlatStyleRenderer(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new painter of the column 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_BaseHeaderFlatStyleRenderer_ActiveFontStyle" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveFontStyle">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveFontStyle.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveFontStyle">ActiveFontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the cell font style in active mode.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveForeColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveForeColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveForeColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveForeColor">ActiveForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color of the cell in an active state.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveMouseOverBackColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveMouseOverBackColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveMouseOverBackColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveMouseOverBackColor">ActiveMouseOverBackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the backcolor of the cell when the mouse is over the cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveSelectedBackColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveSelectedBackColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ActiveSelectedBackColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ActiveSelectedBackColor">ActiveSelectedBackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the header cell when selected.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ContainSelectBackColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ContainSelectBackColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.ContainSelectBackColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_ContainSelectBackColor">ContainSelectBackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the header cell that contains the selected cell in the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_GridLineActiveColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GridLineActiveColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GridLineActiveColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_GridLineActiveColor">GridLineActiveColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the header cell grid line color in an active state or separated by viewport.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_GridLineNormalColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GridLineNormalColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GridLineNormalColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_GridLineNormalColor">GridLineNormalColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the header cell grid line color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_NormalBackgroundColor" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.NormalBackgroundColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.NormalBackgroundColor.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_NormalBackgroundColor">NormalBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the backcolor of the cell in normal mode.</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_BaseHeaderFlatStyleRenderer_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GetObjectData.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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_BaseHeaderFlatStyleRenderer_GetPaintSpecialActiveSelectionRegion_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GetPaintSpecialActiveSelectionRegion(System.Drawing.Rectangle,FarPoint.Win.Spread.Appearance)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.GetPaintSpecialActiveSelectionRegion.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_GetPaintSpecialActiveSelectionRegion_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_">GetPaintSpecialActiveSelectionRegion(Rectangle, Appearance)</a>
        </td>
        <td class="markdown level1 summary"><p>Supports getting the region that paints the special active selection like Office 2013.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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.BaseHeaderFlatStyleRenderer.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.BaseHeaderFlatStyleRenderer.PaintBackground.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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.BaseHeaderFlatStyleRenderer.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.BaseHeaderFlatStyleRenderer.PaintCell.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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 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_BaseHeaderFlatStyleRenderer_PaintCellGridLine_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_Appearance_" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.PaintCellGridLine(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Win.Spread.Appearance)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.PaintCellGridLine.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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 cell grid line.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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.BaseHeaderFlatStyleRenderer.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.BaseHeaderFlatStyleRenderer.PaintHeader.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_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 column header cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_PaintSpecialActiveSelection_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_FarPoint_Win_Spread_Appearance_" data-uid="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.PaintSpecialActiveSelection(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,FarPoint.Win.Spread.Appearance)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.PaintSpecialActiveSelection.html#FarPoint_Win_Spread_CellType_BaseHeaderFlatStyleRenderer_PaintSpecialActiveSelection_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_FarPoint_Win_Spread_Appearance_">PaintSpecialActiveSelection(Graphics, Rectangle, Color, Appearance)</a>
        </td>
        <td class="markdown level1 summary"><p>Supports painting the special active selection like Office 2013.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
