# C1.WPF.RulesManager.RulesEngineDataBarRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RulesManager_RulesEngineDataBarRule" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule" class="text-break">RulesEngineDataBarRule Class
</h1>
  <div class="markdown level0 summary"><p>Rule that displays a bar representing the value of the item.</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.WPF.RulesManager.RulesEngineRule.html">RulesEngineRule</a></div>
    <div class="level2"><span class="xref">RulesEngineDataBarRule</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IXmlSerializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RulesManager.html">C1.WPF.RulesManager</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RulesManager.dll</h6>
  <h5 id="C1_WPF_RulesManager_RulesEngineDataBarRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RulesEngineDataBarRule : RulesEngineRule, IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RulesEngineDataBarRule
    Inherits RulesEngineRule
    Implements IXmlSerializable</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_RulesManager_RulesEngineDataBarRule__ctor" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.#ctor">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.-ctor.html#C1_WPF_RulesManager_RulesEngineDataBarRule__ctor">RulesEngineDataBarRule()</a>
        </td>
        <td class="markdown level1 summary"></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_RulesManager_RulesEngineDataBarRule_Color" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.Color">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.Color.html#C1_WPF_RulesManager_RulesEngineDataBarRule_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_IsGradient" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.IsGradient">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.IsGradient.html#C1_WPF_RulesManager_RulesEngineDataBarRule_IsGradient">IsGradient</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the bar background is a gradient from <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.Color.html#C1_WPF_RulesManager_RulesEngineDataBarRule_Color">Color</a> to a transparency.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_MaximumValue" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.MaximumValue">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.MaximumValue.html#C1_WPF_RulesManager_RulesEngineDataBarRule_MaximumValue">MaximumValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value used to calculate the length of the bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_MaximumValueType" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.MaximumValueType">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.MaximumValueType.html#C1_WPF_RulesManager_RulesEngineDataBarRule_MaximumValueType">MaximumValueType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value type used to calculate the length of the bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_MinimumValue" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.MinimumValue">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.MinimumValue.html#C1_WPF_RulesManager_RulesEngineDataBarRule_MinimumValue">MinimumValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value used to calculate the length of the bar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_MinimumValueType" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.MinimumValueType">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.MinimumValueType.html#C1_WPF_RulesManager_RulesEngineDataBarRule_MinimumValueType">MinimumValueType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value type used to calculate the length of the bar.</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_WPF_RulesManager_RulesEngineDataBarRule_GetApplicableFields_C1_WPF_RulesManager_RulesEngineSource_" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.GetApplicableFields(C1.WPF.RulesManager.RulesEngineSource)">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.GetApplicableFields.html#C1_WPF_RulesManager_RulesEngineDataBarRule_GetApplicableFields_C1_WPF_RulesManager_RulesEngineSource_">GetApplicableFields(RulesEngineSource)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fields from the source where this rule is applicable</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RulesManager_RulesEngineDataBarRule_GetStyle_C1_WPF_RulesManager_RulesEngineSource_System_Int32_System_String_" data-uid="C1.WPF.RulesManager.RulesEngineDataBarRule.GetStyle(C1.WPF.RulesManager.RulesEngineSource,System.Int32,System.String)">
          <a class="xref" href="C1.WPF.RulesManager.RulesEngineDataBarRule.GetStyle.html#C1_WPF_RulesManager_RulesEngineDataBarRule_GetStyle_C1_WPF_RulesManager_RulesEngineSource_System_Int32_System_String_">GetStyle(RulesEngineSource, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style for the specified <code class="paramref">source</code>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
