# C1.Win.RulesManager.Styles.FormStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Styles_FormStyle" data-uid="C1.Win.RulesManager.Styles.FormStyle" class="text-break">FormStyle Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.html">FormStyle</a> contains display attributes that
determine the general appearance of the drop down form 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">FormStyle</span></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.html">CommonStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.ListStyle.html">ListStyle</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.4.8.dll</h6>
  <h5 id="C1_Win_RulesManager_Styles_FormStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FormStyle : BaseC1FrameworkStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FormStyle
    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_FormStyle_BackColor" data-uid="C1.Win.RulesManager.Styles.FormStyle.BackColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.BackColor.html#C1_Win_RulesManager_Styles_FormStyle_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_FormStyle_BorderColor" data-uid="C1.Win.RulesManager.Styles.FormStyle.BorderColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.BorderColor.html#C1_Win_RulesManager_Styles_FormStyle_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_FormStyle_Line" data-uid="C1.Win.RulesManager.Styles.FormStyle.Line">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.Line.html#C1_Win_RulesManager_Styles_FormStyle_Line">Line</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the lines and separators.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_FormStyle_LineColor" data-uid="C1.Win.RulesManager.Styles.FormStyle.LineColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.LineColor.html#C1_Win_RulesManager_Styles_FormStyle_LineColor">LineColor</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 lines and separators.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_FormStyle_Padding" data-uid="C1.Win.RulesManager.Styles.FormStyle.Padding">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.Padding.html#C1_Win_RulesManager_Styles_FormStyle_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the padding between the element edges and its content.</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="C1_Win_RulesManager_Styles_FormStyle_ApplyToStyle_C1_Framework_Style_" data-uid="C1.Win.RulesManager.Styles.FormStyle.ApplyToStyle(C1.Framework.Style)">
          <a class="xref" href="C1.Win.RulesManager.Styles.FormStyle.ApplyToStyle.html#C1_Win_RulesManager_Styles_FormStyle_ApplyToStyle_C1_Framework_Style_">ApplyToStyle(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies style to the specified <span class="xref">C1.Framework.Style</span> if it is possible.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
