# C1.DataFilter.BoolFilterBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataFilter_BoolFilterBase" data-uid="C1.DataFilter.BoolFilterBase" class="text-break">BoolFilterBase Class
</h1>
  <div class="markdown level0 summary"><p>Base class represents a filter with checkbox.</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.DataFilter.Filter.html">Filter</a></div>
    <div class="level2"><span class="xref">BoolFilterBase</span></div>
      <div class="level3"><a class="xref" href="C1.WPF.DataFilter.BoolFilter.html">BoolFilter</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataFilter.html">C1.DataFilter</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DataFilter.4.6.2.dll</h6>
  <h5 id="C1_DataFilter_BoolFilterBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BoolFilterBase : Filter, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BoolFilterBase
    Inherits Filter
    Implements INotifyPropertyChanged</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_DataFilter_BoolFilterBase__ctor_System_String_System_Boolean_" data-uid="C1.DataFilter.BoolFilterBase.#ctor(System.String,System.Boolean)">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.-ctor.html#C1_DataFilter_BoolFilterBase__ctor_System_String_System_Boolean_">BoolFilterBase(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataFilter.BoolFilterBase.html">BoolFilterBase</a> with the name of the data item property.</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_DataFilter_BoolFilterBase_DefaultValue" data-uid="C1.DataFilter.BoolFilterBase.DefaultValue">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.DefaultValue.html#C1_DataFilter_BoolFilterBase_DefaultValue">DefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default value of the current filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_Expression" data-uid="C1.DataFilter.BoolFilterBase.Expression">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.Expression.html#C1_DataFilter_BoolFilterBase_Expression">Expression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the expression of the current filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_IgnoreDefault" data-uid="C1.DataFilter.BoolFilterBase.IgnoreDefault">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.IgnoreDefault.html#C1_DataFilter_BoolFilterBase_IgnoreDefault">IgnoreDefault</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current filter applies when the <a class="xref" href="C1.DataFilter.BoolFilterBase.Value.html#C1_DataFilter_BoolFilterBase_Value">Value</a> is equal to the <a class="xref" href="C1.DataFilter.BoolFilterBase.DefaultValue.html#C1_DataFilter_BoolFilterBase_DefaultValue">DefaultValue</a> or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_IsApplied" data-uid="C1.DataFilter.BoolFilterBase.IsApplied">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.IsApplied.html#C1_DataFilter_BoolFilterBase_IsApplied">IsApplied</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the current filter is applied or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_Text" data-uid="C1.DataFilter.BoolFilterBase.Text">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.Text.html#C1_DataFilter_BoolFilterBase_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text of label of checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_Value" data-uid="C1.DataFilter.BoolFilterBase.Value">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.Value.html#C1_DataFilter_BoolFilterBase_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the current filter.</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_DataFilter_BoolFilterBase_Reset_System_Boolean_" data-uid="C1.DataFilter.BoolFilterBase.Reset(System.Boolean)">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.Reset.html#C1_DataFilter_BoolFilterBase_Reset_System_Boolean_">Reset(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the filter value to the default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_BoolFilterBase_SetValue_System_Boolean_System_Boolean_" data-uid="C1.DataFilter.BoolFilterBase.SetValue(System.Boolean,System.Boolean)">
          <a class="xref" href="C1.DataFilter.BoolFilterBase.SetValue.html#C1_DataFilter_BoolFilterBase_SetValue_System_Boolean_System_Boolean_">SetValue(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a value of <a class="xref" href="C1.DataFilter.BoolFilterBase.html">BoolFilterBase</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
