# C1.DataFilter.Filter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataFilter_Filter" data-uid="C1.DataFilter.Filter" class="text-break">Filter Class
</h1>
  <div class="markdown level0 summary"><p>Base class represents filter of the C1DataFilter control.</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">Filter</span></div>
      <div class="level2"><a class="xref" href="C1.DataFilter.BoolFilterBase.html">BoolFilterBase</a></div>
      <div class="level2"><a class="xref" href="C1.DataFilter.CalendarFilterBase.html">CalendarFilterBase</a></div>
      <div class="level2"><a class="xref" href="C1.DataFilter.DateRangeFilterBase.html">DateRangeFilterBase</a></div>
      <div class="level2"><a class="xref" href="C1.DataFilter.FilterWithSummary.html">FilterWithSummary</a></div>
      <div class="level2"><a class="xref" href="C1.DataFilter.RangeFilterBase.html">RangeFilterBase</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.DataFilter.CustomFilter.html">CustomFilter</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_Filter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class Filter : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class 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_Filter__ctor_System_String_System_Boolean_" data-uid="C1.DataFilter.Filter.#ctor(System.String,System.Boolean)">
          <a class="xref" href="C1.DataFilter.Filter.-ctor.html#C1_DataFilter_Filter__ctor_System_String_System_Boolean_">Filter(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataFilter.Filter.html">Filter</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_Filter_Expanded" data-uid="C1.DataFilter.Filter.Expanded">
          <a class="xref" href="C1.DataFilter.Filter.Expanded.html#C1_DataFilter_Filter_Expanded">Expanded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set the expanded state of current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_Expression" data-uid="C1.DataFilter.Filter.Expression">
          <a class="xref" href="C1.DataFilter.Filter.Expression.html#C1_DataFilter_Filter_Expression">Expression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression of the current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_HeaderText" data-uid="C1.DataFilter.Filter.HeaderText">
          <a class="xref" href="C1.DataFilter.Filter.HeaderText.html#C1_DataFilter_Filter_HeaderText">HeaderText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value of header text of the current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_IsApplied" data-uid="C1.DataFilter.Filter.IsApplied">
          <a class="xref" href="C1.DataFilter.Filter.IsApplied.html#C1_DataFilter_Filter_IsApplied">IsApplied</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a> is applied or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_IsAutoGenerated" data-uid="C1.DataFilter.Filter.IsAutoGenerated">
          <a class="xref" href="C1.DataFilter.Filter.IsAutoGenerated.html#C1_DataFilter_Filter_IsAutoGenerated">IsAutoGenerated</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this filter was generated automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_PropertyName" data-uid="C1.DataFilter.Filter.PropertyName">
          <a class="xref" href="C1.DataFilter.Filter.PropertyName.html#C1_DataFilter_Filter_PropertyName">PropertyName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the data item property to which the current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a> applies.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_ToolTip" data-uid="C1.DataFilter.Filter.ToolTip">
          <a class="xref" href="C1.DataFilter.Filter.ToolTip.html#C1_DataFilter_Filter_ToolTip">ToolTip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text that appears as a ToolTip for header of this 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_Filter_OnPropertyChanged_System_String_" data-uid="C1.DataFilter.Filter.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.DataFilter.Filter.OnPropertyChanged.html#C1_DataFilter_Filter_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.DataFilter.Filter.PropertyChanged.html">PropertyChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_OnValueChanged_C1_DataFilter_ValueChangedEventArgs_" data-uid="C1.DataFilter.Filter.OnValueChanged(C1.DataFilter.ValueChangedEventArgs)">
          <a class="xref" href="C1.DataFilter.Filter.OnValueChanged.html#C1_DataFilter_Filter_OnValueChanged_C1_DataFilter_ValueChangedEventArgs_">OnValueChanged(ValueChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.DataFilter.Filter.ValueChanged.html">ValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_Reset_System_Boolean_" data-uid="C1.DataFilter.Filter.Reset(System.Boolean)">
          <a class="xref" href="C1.DataFilter.Filter.Reset.html#C1_DataFilter_Filter_Reset_System_Boolean_">Reset(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the filter value to the default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataFilter_Filter_PropertyChanged" data-uid="C1.DataFilter.Filter.PropertyChanged">
          <a class="xref" href="C1.DataFilter.Filter.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataFilter_Filter_ValueChanged" data-uid="C1.DataFilter.Filter.ValueChanged">
          <a class="xref" href="C1.DataFilter.Filter.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a value of current <a class="xref" href="C1.DataFilter.Filter.html">Filter</a> changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
