# C1.Win.RulesManager.Styles.CommonStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Styles_CommonStyle" data-uid="C1.Win.RulesManager.Styles.CommonStyle" class="text-break">CommonStyle Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.html">CommonStyle</a> contains display attributes that
determine the general appearance of the control 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.FormStyle.html">FormStyle</a></div>
    <div class="level2"><span class="xref">CommonStyle</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.4.8.dll</h6>
  <h5 id="C1_Win_RulesManager_Styles_CommonStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CommonStyle : FormStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CommonStyle
    Inherits FormStyle</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_CommonStyle_ChildSpacingHorz" data-uid="C1.Win.RulesManager.Styles.CommonStyle.ChildSpacingHorz">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.ChildSpacingHorz.html#C1_Win_RulesManager_Styles_CommonStyle_ChildSpacingHorz">ChildSpacingHorz</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of horizontal space between child elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_CommonStyle_ChildSpacingVert" data-uid="C1.Win.RulesManager.Styles.CommonStyle.ChildSpacingVert">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.ChildSpacingVert.html#C1_Win_RulesManager_Styles_CommonStyle_ChildSpacingVert">ChildSpacingVert</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount of vertical space between child elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_CommonStyle_Corners" data-uid="C1.Win.RulesManager.Styles.CommonStyle.Corners">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.Corners.html#C1_Win_RulesManager_Styles_CommonStyle_Corners">Corners</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets corners of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_CommonStyle_EmptyBackColor" data-uid="C1.Win.RulesManager.Styles.CommonStyle.EmptyBackColor">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.EmptyBackColor.html#C1_Win_RulesManager_Styles_CommonStyle_EmptyBackColor">EmptyBackColor</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 empty space background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_CommonStyle_Icons" data-uid="C1.Win.RulesManager.Styles.CommonStyle.Icons">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.Icons.html#C1_Win_RulesManager_Styles_CommonStyle_Icons">Icons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets icons of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_CommonStyle_Margins" data-uid="C1.Win.RulesManager.Styles.CommonStyle.Margins">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.Margins.html#C1_Win_RulesManager_Styles_CommonStyle_Margins">Margins</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the margins around the element.</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_CommonStyle_ApplyToStyle_C1_Framework_Style_" data-uid="C1.Win.RulesManager.Styles.CommonStyle.ApplyToStyle(C1.Framework.Style)">
          <a class="xref" href="C1.Win.RulesManager.Styles.CommonStyle.ApplyToStyle.html#C1_Win_RulesManager_Styles_CommonStyle_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>
