# FarPoint.Win.Spread.Appearance.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*">Appearance Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor" data-uid="FarPoint.Win.Spread.Appearance.#ctor">Appearance()</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings 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 Appearance()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_FarPoint_Win_Spread_SortState_FarPoint_Win_Spread_FilterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Int32_FarPoint_Win_Spread_CellPadding_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_System_Drawing_Font_System_Drawing_Font_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles,FarPoint.Win.Spread.SortState,FarPoint.Win.Spread.FilterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int32,FarPoint.Win.Spread.CellPadding,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,System.Drawing.Font,System.Drawing.Font)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int, CellPadding, bool, Color, Color, Font, Font, Font)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
visual style, and sorting and filtering states.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState, bool mouseOver, bool showActive, bool displayZero, bool rightToLeft, bool containsSelection, int textIndent, CellPadding cellPadding, bool drawEditButtons, Color nullBackColor, Color nullForeColor, Font nullFont, Font lockFont, Font selectionFont)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer, cellPadding As CellPadding, drawEditButtons As Boolean, nullBackColor As Color, nullForeColor As Color, nullFont As Font, lockFont As Font, selectionFont As Font)</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">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SortState.html">SortState</a></td>
      <td><span class="parametername">sortState</span></td>
      <td><p>Sorting state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FilterState.html">FilterState</a></td>
      <td><span class="parametername">filterState</span></td>
      <td><p>Filtering state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">mouseOver</span></td>
      <td><p>Whether the mouse is over the item being rendered</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showActive</span></td>
      <td><p>Determines whether the item should be rendered as a hot item</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayZero</span></td>
      <td><p>Determines whether zero values are displayed in cells</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>Whether to draw the object with a right to left orientation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">containsSelection</span></td>
      <td><p>if set to <code>true</code> [contains selection].</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">textIndent</span></td>
      <td><p>The text indent.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a></td>
      <td><span class="parametername">cellPadding</span></td>
      <td><p>Padding around the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawEditButtons</span></td>
      <td><p>Determines whether to draw buttons on edit controls.</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">nullBackColor</span></td>
      <td><p>Backcolor for null cells.</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">nullForeColor</span></td>
      <td><p>Forecolor for null cells that contain default text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">nullFont</span></td>
      <td><p>Font for null cells that contain default text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">lockFont</span></td>
      <td><p>Font for locked cells.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">selectionFont</span></td>
      <td><p>Font for selected cells.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_FarPoint_Win_Spread_SortState_FarPoint_Win_Spread_FilterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Int32_FarPoint_Win_Spread_CellPadding_System_Boolean_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles,FarPoint.Win.Spread.SortState,FarPoint.Win.Spread.FilterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int32,FarPoint.Win.Spread.CellPadding,System.Boolean)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int, CellPadding, bool)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
visual style, and sorting and filtering states.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState, bool mouseOver, bool showActive, bool displayZero, bool rightToLeft, bool containsSelection, int textIndent, CellPadding cellPadding, bool drawEditButtons)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer, cellPadding As CellPadding, drawEditButtons 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.color">Color</a></td>
      <td><span class="parametername">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SortState.html">SortState</a></td>
      <td><span class="parametername">sortState</span></td>
      <td><p>Sorting state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FilterState.html">FilterState</a></td>
      <td><span class="parametername">filterState</span></td>
      <td><p>Filtering state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">mouseOver</span></td>
      <td><p>Whether the mouse is over the item being rendered</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showActive</span></td>
      <td><p>Determines whether the item should be rendered as a hot item</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayZero</span></td>
      <td><p>Determines whether zero values are displayed in cells</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>Whether to draw the object with a right to left orientation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">containsSelection</span></td>
      <td><p>if set to <code>true</code> [contains selection].</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">textIndent</span></td>
      <td><p>The text indent.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a></td>
      <td><span class="parametername">cellPadding</span></td>
      <td><p>Padding around the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawEditButtons</span></td>
      <td><p>Determines whether buttons draw on edit controls.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_FarPoint_Win_Spread_SortState_FarPoint_Win_Spread_FilterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Int32_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles,FarPoint.Win.Spread.SortState,FarPoint.Win.Spread.FilterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int32)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
visual style, and sorting and filtering states.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState, bool mouseOver, bool showActive, bool displayZero, bool rightToLeft, bool containsSelection, int textIndent)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer)</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">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SortState.html">SortState</a></td>
      <td><span class="parametername">sortState</span></td>
      <td><p>Sorting state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FilterState.html">FilterState</a></td>
      <td><span class="parametername">filterState</span></td>
      <td><p>Filtering state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">mouseOver</span></td>
      <td><p>Whether the mouse is over the item being rendered</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showActive</span></td>
      <td><p>Determines whether the item should be rendered as a hot item</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayZero</span></td>
      <td><p>Determines whether zero values are displayed in cells</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>Whether to draw the object with a right to left orientation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">containsSelection</span></td>
      <td><p>if set to <code>true</code> [contains selection].</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">textIndent</span></td>
      <td><p>The text indent.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_FarPoint_Win_Spread_SortState_FarPoint_Win_Spread_FilterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles,FarPoint.Win.Spread.SortState,FarPoint.Win.Spread.FilterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
visual style, and sorting and filtering states.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState, bool mouseOver, bool showActive, bool displayZero, bool rightToLeft)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft 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.color">Color</a></td>
      <td><span class="parametername">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SortState.html">SortState</a></td>
      <td><span class="parametername">sortState</span></td>
      <td><p>Sorting state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FilterState.html">FilterState</a></td>
      <td><span class="parametername">filterState</span></td>
      <td><p>Filtering state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">mouseOver</span></td>
      <td><p>Whether the mouse is over the item being rendered</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showActive</span></td>
      <td><p>Determines whether the item should be rendered as a hot item</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayZero</span></td>
      <td><p>Determines whether zero values are displayed in cells</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>Whether to draw the object with a right to left orientation</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_FarPoint_Win_Spread_SortState_FarPoint_Win_Spread_FilterState_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles,FarPoint.Win.Spread.SortState,FarPoint.Win.Spread.FilterState)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
visual style, and sorting and filtering states.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState)</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">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SortState.html">SortState</a></td>
      <td><span class="parametername">sortState</span></td>
      <td><p>Sorting state</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.FilterState.html">FilterState</a></td>
      <td><span class="parametername">filterState</span></td>
      <td><p>Filtering state</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_VisualStyles_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.VisualStyles)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, alignment,
and visual style.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles)</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">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.VisualStyles.html">VisualStyles</a></td>
      <td><span class="parametername">visualStyle</span></td>
      <td><p>Whether to render with visual styles (as in XP themes)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Appearance__ctor_" data-uid="FarPoint.Win.Spread.Appearance.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Appearance__ctor_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_Spread_CellHorizontalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_System_Boolean_System_Boolean_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.Appearance.#ctor(System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.Spread.CellHorizontalAlignment,FarPoint.Win.Spread.CellVerticalAlignment,System.Boolean,System.Boolean,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color)</h4>
<div class="markdown level1 summary"><p>Creates a set of appearance settings with the specified colors, buttons, and alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor 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">backColor</span></td>
      <td><p>Background color of an object</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">foreColor</span></td>
      <td><p>Foreground (text) color of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>Font information of an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">horizontalAlignment</span></td>
      <td><p>Horizontal alignment of an object or of text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">verticalAlignment</span></td>
      <td><p>Vertical alignment of an object or text in a cell</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawPrimaryButton</span></td>
      <td><p>Whether to draw the primary button for an object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSecondaryButton</span></td>
      <td><p>Whether to draw the secondary button for an object</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">selectionBackColor</span></td>
      <td><p>Background color of an object when the object is selected</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">selectionForeColor</span></td>
      <td><p>Foreground (text) color of an object when the object is selected</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">lockBackColor</span></td>
      <td><p>Background color of an object when the cell is locked</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">lockForeColor</span></td>
      <td><p>Foreground (text) color of an object when the cell is locked</p>
</td>
    </tr>
  </tbody>
</table>
</div>
