# C1.Win.RulesManager.Styles.BaseElementStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Styles_BaseElementStyle" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle" class="text-break">BaseElementStyle Class
</h1>
  <div class="markdown level0 summary"><p>Base class for <a class="xref" href="C1.Win.RulesManager.C1RulesManager.html">C1RulesManager</a> style.</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">BaseElementStyle</span></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.ClickableElementStyle.html">ClickableElementStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.TextBoxStyle.html">TextBoxStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.RulesManager.Styles.TextStyle.html">TextStyle</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_BaseElementStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseElementStyle : BaseC1FrameworkStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseElementStyle
    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_BaseElementStyle_Border" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle.Border">
          <a class="xref" href="C1.Win.RulesManager.Styles.BaseElementStyle.Border.html#C1_Win_RulesManager_Styles_BaseElementStyle_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_BaseElementStyle_Corners" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle.Corners">
          <a class="xref" href="C1.Win.RulesManager.Styles.BaseElementStyle.Corners.html#C1_Win_RulesManager_Styles_BaseElementStyle_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_BaseElementStyle_Margins" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle.Margins">
          <a class="xref" href="C1.Win.RulesManager.Styles.BaseElementStyle.Margins.html#C1_Win_RulesManager_Styles_BaseElementStyle_Margins">Margins</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the margins around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Styles_BaseElementStyle_Padding" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle.Padding">
          <a class="xref" href="C1.Win.RulesManager.Styles.BaseElementStyle.Padding.html#C1_Win_RulesManager_Styles_BaseElementStyle_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_BaseElementStyle_ApplyToStyle_C1_Framework_Style_" data-uid="C1.Win.RulesManager.Styles.BaseElementStyle.ApplyToStyle(C1.Framework.Style)">
          <a class="xref" href="C1.Win.RulesManager.Styles.BaseElementStyle.ApplyToStyle.html#C1_Win_RulesManager_Styles_BaseElementStyle_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>
