# C1.WPF.ExpressionEditor.BaseRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_ExpressionEditor_BaseRule" data-uid="C1.WPF.ExpressionEditor.BaseRule" class="text-break">BaseRule Class
</h1>
  <div class="markdown level0 summary"><p>The base style rule of the editor.</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">BaseRule</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.ExpressionEditor.RegexRule.html">RegexRule</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.ExpressionEditor.html">C1.WPF.ExpressionEditor</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ExpressionEditor.4.6.2.dll</h6>
  <h5 id="C1_WPF_ExpressionEditor_BaseRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BaseRule</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BaseRule</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_ExpressionEditor_BaseRule__ctor" data-uid="C1.WPF.ExpressionEditor.BaseRule.#ctor">
          <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.-ctor.html#C1_WPF_ExpressionEditor_BaseRule__ctor">BaseRule()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.html">BaseRule</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_WPF_ExpressionEditor_BaseRule_FontStyle" data-uid="C1.WPF.ExpressionEditor.BaseRule.FontStyle">
          <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.FontStyle.html#C1_WPF_ExpressionEditor_BaseRule_FontStyle">FontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font style of the syntax.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_BaseRule_FontWeight" data-uid="C1.WPF.ExpressionEditor.BaseRule.FontWeight">
          <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.FontWeight.html#C1_WPF_ExpressionEditor_BaseRule_FontWeight">FontWeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font weight of the syntax.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_BaseRule_Foreground" data-uid="C1.WPF.ExpressionEditor.BaseRule.Foreground">
          <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.Foreground.html#C1_WPF_ExpressionEditor_BaseRule_Foreground">Foreground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground of the syntax.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_ExpressionEditor_BaseRule_SyntaxType" data-uid="C1.WPF.ExpressionEditor.BaseRule.SyntaxType">
          <a class="xref" href="C1.WPF.ExpressionEditor.BaseRule.SyntaxType.html#C1_WPF_ExpressionEditor_BaseRule_SyntaxType">SyntaxType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the syntax.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
