# C1.Win.RulesManager.Styles.TextStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Styles_TextStyle" data-uid="C1.Win.RulesManager.Styles.TextStyle" class="text-break">TextStyle Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.html">TextStyle</a> contains display attributes that
determine the general appearance of the text element on the screen.</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="C1.Win.RulesManager.Styles.BaseElementStyle.html">BaseElementStyle</a></div>
    <div class="level2"><span class="xref">TextStyle</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.RulesManager.Styles.html">C1.Win.RulesManager.Styles</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.RulesManager.10.dll</h6>
  <h5 id="C1_Win_RulesManager_Styles_TextStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextStyle : BaseElementStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextStyle
    Inherits BaseElementStyle</code></pre>
  </div>
  <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="C1_Win_RulesManager_Styles_TextStyle_BackColor" data-uid="C1.Win.RulesManager.Styles.TextStyle.BackColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.BackColor.html#C1_Win_RulesManager_Styles_TextStyle_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_TextStyle_BorderColor" data-uid="C1.Win.RulesManager.Styles.TextStyle.BorderColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.BorderColor.html#C1_Win_RulesManager_Styles_TextStyle_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to draw the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_TextStyle_Font" data-uid="C1.Win.RulesManager.Styles.TextStyle.Font">
          <a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.Font.html#C1_Win_RulesManager_Styles_TextStyle_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets text font of element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_TextStyle_ForeColor" data-uid="C1.Win.RulesManager.Styles.TextStyle.ForeColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.ForeColor.html#C1_Win_RulesManager_Styles_TextStyle_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the text.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
