# C1.WPF.DataFilter.ThreeStateFilterPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_DataFilter_ThreeStateFilterPresenter" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter" class="text-break">ThreeStateFilterPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Presenter for ThreeStateBoolFilter.</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">ThreeStateFilterPresenter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.DataFilter.html">C1.WPF.DataFilter</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DataFilter.dll</h6>
  <h5 id="C1_WPF_DataFilter_ThreeStateFilterPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;TrueCondition&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;FalseCondition&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;NullCondition&quot;, Type = typeof(CheckBox))]
[TemplatePart(Name = &quot;SelectAll&quot;, Type = typeof(CheckBox))]
public class ThreeStateFilterPresenter : C1View</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;TrueCondition&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;FalseCondition&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;NullCondition&quot;, Type:=GetType(CheckBox))&gt;
&lt;TemplatePart(Name:=&quot;SelectAll&quot;, Type:=GetType(CheckBox))&gt;
Public Class ThreeStateFilterPresenter
    Inherits C1View</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_DataFilter_ThreeStateFilterPresenter__ctor" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.#ctor">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.-ctor.html#C1_WPF_DataFilter_ThreeStateFilterPresenter__ctor">ThreeStateFilterPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.html">ThreeStateFilterPresenter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContentProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentProperty.html">FalseConditionContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContent">FalseConditionContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContentTemplateProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentTemplateProperty.html">FalseConditionContentTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContentTemplate">FalseConditionContentTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_FilterProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.FilterProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FilterProperty.html">FilterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.Filter.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_Filter">Filter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderContentProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderContentProperty.html">HeaderContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderContent">HeaderContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderTemplateProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderTemplateProperty.html">HeaderTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderTemplate">HeaderTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContentProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentProperty.html">NullConditionContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContent">NullConditionContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContentTemplateProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentTemplateProperty.html">NullConditionContentTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContentTemplate">NullConditionContentTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContentProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentProperty.html">TrueConditionContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContent">TrueConditionContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContentTemplateProperty" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentTemplateProperty.html">TrueConditionContentTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContentTemplate">TrueConditionContentTemplate</a> dependency 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_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContent" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContent">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContent">FalseConditionContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Label content of false condition checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContentTemplate" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.FalseConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_FalseConditionContentTemplate">FalseConditionContentTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Content template for Label of false condition checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_Filter" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.Filter">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.Filter.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_Filter">Filter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets filter associated with this element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderContent" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderContent">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderContent">HeaderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content for the Header of current <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.html">ThreeStateFilterPresenter</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderTemplate" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_HeaderTemplate">HeaderTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the DataTemplate used in the header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContent" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContent">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContent">NullConditionContent</a>
        </td>
        <td class="markdown level1 summary"><p>Label content of null condition checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContentTemplate" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.NullConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_NullConditionContentTemplate">NullConditionContentTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Content template for Label of null condition checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContent" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContent">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContent.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContent">TrueConditionContent</a>
        </td>
        <td class="markdown level1 summary"><p>Label content of true condition checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContentTemplate" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.TrueConditionContentTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_TrueConditionContentTemplate">TrueConditionContentTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Content template for Label of true condition checkbox.</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_DataFilter_ThreeStateFilterPresenter_Dispose_System_Boolean_" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.Dispose.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_ImplementLocalization" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.ImplementLocalization">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.ImplementLocalization.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_ImplementLocalization">ImplementLocalization()</a>
        </td>
        <td class="markdown level1 summary"><p>Implement localization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ThreeStateFilterPresenter_OnApplyTemplate" data-uid="C1.WPF.DataFilter.ThreeStateFilterPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ThreeStateFilterPresenter.OnApplyTemplate.html#C1_WPF_DataFilter_ThreeStateFilterPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
