# FarPoint.Win.Spread.TableElementStyle.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_TableElementStyle__ctor_" data-uid="FarPoint.Win.Spread.TableElementStyle.#ctor*">TableElementStyle Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_TableElementStyle__ctor_" data-uid="FarPoint.Win.Spread.TableElementStyle.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_TableElementStyle__ctor_FarPoint_Win_Spread_TableBorder_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_Spread_RegularBoldItalicFontStyle_" data-uid="FarPoint.Win.Spread.TableElementStyle.#ctor(FarPoint.Win.Spread.TableBorder,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.Spread.RegularBoldItalicFontStyle)">TableElementStyle(TableBorder, Color, Color, RegularBoldItalicFontStyle)</h4>
<div class="markdown level1 summary"><p>Creates a style with the information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TableElementStyle(TableBorder border, Color backColor, Color foreColor, RegularBoldItalicFontStyle fontStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(border As TableBorder, backColor As Color, foreColor As Color, fontStyle As RegularBoldItalicFontStyle)</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="FarPoint.Win.Spread.TableBorder.html">TableBorder</a></td>
      <td><span class="parametername">border</span></td>
      <td><p>Border of the element</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">backColor</span></td>
      <td><p>Backcolor of the element</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>Forecolor of the element</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.RegularBoldItalicFontStyle.html">RegularBoldItalicFontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>Font style of the element</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_TableElementStyle__ctor_" data-uid="FarPoint.Win.Spread.TableElementStyle.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_TableElementStyle__ctor_FarPoint_Win_Spread_TableBorder_System_Drawing_Color_System_Drawing_Color_FarPoint_Win_Spread_RegularBoldItalicFontStyle_FarPoint_Win_Spread_StrikeoutFontStyle_FarPoint_Win_Spread_UnderlineFontStyle_" data-uid="FarPoint.Win.Spread.TableElementStyle.#ctor(FarPoint.Win.Spread.TableBorder,System.Drawing.Color,System.Drawing.Color,FarPoint.Win.Spread.RegularBoldItalicFontStyle,FarPoint.Win.Spread.StrikeoutFontStyle,FarPoint.Win.Spread.UnderlineFontStyle)">TableElementStyle(TableBorder, Color, Color, RegularBoldItalicFontStyle, StrikeoutFontStyle, UnderlineFontStyle)</h4>
<div class="markdown level1 summary"><p>Creates a style with the information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TableElementStyle(TableBorder border, Color backColor, Color foreColor, RegularBoldItalicFontStyle fontStyle, StrikeoutFontStyle strikethrough, UnderlineFontStyle underline)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(border As TableBorder, backColor As Color, foreColor As Color, fontStyle As RegularBoldItalicFontStyle, strikethrough As StrikeoutFontStyle, underline As UnderlineFontStyle)</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="FarPoint.Win.Spread.TableBorder.html">TableBorder</a></td>
      <td><span class="parametername">border</span></td>
      <td><p>Border of the element</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">backColor</span></td>
      <td><p>Backcolor of the element</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>Forecolor of the element</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.RegularBoldItalicFontStyle.html">RegularBoldItalicFontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>Font style of the element</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.StrikeoutFontStyle.html">StrikeoutFontStyle</a></td>
      <td><span class="parametername">strikethrough</span></td>
      <td><p>Font style strikeout</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.UnderlineFontStyle.html">UnderlineFontStyle</a></td>
      <td><span class="parametername">underline</span></td>
      <td><p>Font style underline</p>
</td>
    </tr>
  </tbody>
</table>
</div>
