# C1.Win.RulesManager.IRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_IRule" data-uid="C1.Win.RulesManager.IRule" class="text-break">IRule Interface
</h1>
  <div class="markdown level0 summary"><p>Represents conditional formatting rule.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.RulesManager.html">C1.Win.RulesManager</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.RulesManager.10.dll</h6>
  <h5 id="C1_Win_RulesManager_IRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IRule : ICloneable, INotifyPropertyChanged, IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IRule
    Inherits ICloneable, INotifyPropertyChanged, IXmlSerializable</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_IRule_AppliesTo" data-uid="C1.Win.RulesManager.IRule.AppliesTo">
          <a class="xref" href="C1.Win.RulesManager.IRule.AppliesTo.html#C1_Win_RulesManager_IRule_AppliesTo">AppliesTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a ItemRangeCollection collection of that specifies the range of items that the formatting rule applies to.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_Enabled" data-uid="C1.Win.RulesManager.IRule.Enabled">
          <a class="xref" href="C1.Win.RulesManager.IRule.Enabled.html#C1_Win_RulesManager_IRule_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this conditional formatting is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_Expression" data-uid="C1.Win.RulesManager.IRule.Expression">
          <a class="xref" href="C1.Win.RulesManager.IRule.Expression.html#C1_Win_RulesManager_IRule_Expression">Expression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value or expression associated with the conditional format or validation of data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_IsValid" data-uid="C1.Win.RulesManager.IRule.IsValid">
          <a class="xref" href="C1.Win.RulesManager.IRule.IsValid.html#C1_Win_RulesManager_IRule_IsValid">IsValid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this conditional formatting is properly customized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_Name" data-uid="C1.Win.RulesManager.IRule.Name">
          <a class="xref" href="C1.Win.RulesManager.IRule.Name.html#C1_Win_RulesManager_IRule_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets rule name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_StopIfTrue" data-uid="C1.Win.RulesManager.IRule.StopIfTrue">
          <a class="xref" href="C1.Win.RulesManager.IRule.StopIfTrue.html#C1_Win_RulesManager_IRule_StopIfTrue">StopIfTrue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Boolean value that determines if additional formatting rules
for the item should be evaluated, if the current rule is set to True.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_IRule_Style" data-uid="C1.Win.RulesManager.IRule.Style">
          <a class="xref" href="C1.Win.RulesManager.IRule.Style.html#C1_Win_RulesManager_IRule_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the item style that will be used for conditional formatting or data validation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
