# C1.Win.RulesManager.Styles.StateElementStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Styles_StateElementStyle" data-uid="C1.Win.RulesManager.Styles.StateElementStyle" class="text-break">StateElementStyle Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.Win.RulesManager.Styles.StateElementStyle.html">StateElementStyle</a> contains display attributes that
determine the general appearance of the element in some state 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"><span class="xref">StateElementStyle</span></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.SelectedStateElementStyle.html">SelectedStateElementStyle</a></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_StateElementStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StateElementStyle : BaseC1FrameworkStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StateElementStyle
    Inherits BaseC1FrameworkStyle</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_StateElementStyle_BackColor" data-uid="C1.Win.RulesManager.Styles.StateElementStyle.BackColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.StateElementStyle.BackColor.html#C1_Win_RulesManager_Styles_StateElementStyle_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_StateElementStyle_BorderColor" data-uid="C1.Win.RulesManager.Styles.StateElementStyle.BorderColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.StateElementStyle.BorderColor.html#C1_Win_RulesManager_Styles_StateElementStyle_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_StateElementStyle_ForeColor" data-uid="C1.Win.RulesManager.Styles.StateElementStyle.ForeColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.StateElementStyle.ForeColor.html#C1_Win_RulesManager_Styles_StateElementStyle_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>
