# C1.WPF.FlexGrid.Condition

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_Condition" data-uid="C1.WPF.FlexGrid.Condition" class="text-break">Condition Class
</h1>
  <div class="markdown level0 summary"><p>Represents a condition within a <a class="xref" href="C1.WPF.FlexGrid.ConditionFilter.html">ConditionFilter</a>.</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">Condition</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.FlexGrid.TextCondition.html">TextCondition</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexGridFilter.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_Condition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Condition</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Condition</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_WPF_FlexGrid_Condition_IsActive" data-uid="C1.WPF.FlexGrid.Condition.IsActive">
          <a class="xref" href="C1.WPF.FlexGrid.Condition.IsActive.html#C1_WPF_FlexGrid_Condition_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the condition is active.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_Condition_Operator" data-uid="C1.WPF.FlexGrid.Condition.Operator">
          <a class="xref" href="C1.WPF.FlexGrid.Condition.Operator.html#C1_WPF_FlexGrid_Condition_Operator">Operator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the operator used by this condition.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_Condition_Parameter" data-uid="C1.WPF.FlexGrid.Condition.Parameter">
          <a class="xref" href="C1.WPF.FlexGrid.Condition.Parameter.html#C1_WPF_FlexGrid_Condition_Parameter">Parameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter used by this condition.</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_FlexGrid_Condition_Apply_System_Object_" data-uid="C1.WPF.FlexGrid.Condition.Apply(System.Object)">
          <a class="xref" href="C1.WPF.FlexGrid.Condition.Apply.html#C1_WPF_FlexGrid_Condition_Apply_System_Object_">Apply(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the condition to a given value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_Condition_Clear" data-uid="C1.WPF.FlexGrid.Condition.Clear">
          <a class="xref" href="C1.WPF.FlexGrid.Condition.Clear.html#C1_WPF_FlexGrid_Condition_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears this condition by setting the <a class="xref" href="C1.WPF.FlexGrid.Condition.Operator.html#C1_WPF_FlexGrid_Condition_Operator">Operator</a> to 'None'
and the <a class="xref" href="C1.WPF.FlexGrid.Condition.Parameter.html#C1_WPF_FlexGrid_Condition_Parameter">Parameter</a> to null.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
