# C1.WPF.DataFilter.View.BoolFilterPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_DataFilter_View_BoolFilterPresenter" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter" class="text-break">BoolFilterPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Filter control for model Filter has bool value</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><span class="xref">BoolFilterPresenter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.DataFilter.View.html">C1.WPF.DataFilter.View</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DataFilter.4.6.2.dll</h6>
  <h5 id="C1_WPF_DataFilter_View_BoolFilterPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Header&quot;, Type = typeof(C1HeaderedContentControl))]
[TemplatePart(Name = &quot;Condition&quot;, Type = typeof(CheckBox))]
public class BoolFilterPresenter : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Header&quot;, Type:=GetType(C1HeaderedContentControl))&gt;
&lt;TemplatePart(Name:=&quot;Condition&quot;, Type:=GetType(CheckBox))&gt;
Public Class BoolFilterPresenter
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</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_View_BoolFilterPresenter__ctor" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.#ctor">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.-ctor.html#C1_WPF_DataFilter_View_BoolFilterPresenter__ctor">BoolFilterPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.html">BoolFilterPresenter</a>.</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_View_BoolFilterPresenter_ConditionContentProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentProperty.html">ConditionContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContent.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContent">ConditionContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContentTemplateProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentTemplateProperty.html">ConditionContentTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentTemplate.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContentTemplate">ConditionContentTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedBackgroundProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedBackgroundProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedBackgroundProperty.html">ExpandedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedBackground.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedBackground">ExpandedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedCornerRadiusProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedCornerRadiusProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedCornerRadiusProperty.html">ExpandedCornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedCornerRadius.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedCornerRadius">ExpandedCornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedMouseOverBrushProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedMouseOverBrushProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedMouseOverBrushProperty.html">ExpandedMouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedMouseOverBrush.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedMouseOverBrush">ExpandedMouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_FilterProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.FilterProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.FilterProperty.html">FilterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>BoolFilter dependency property</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderContentProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderContentProperty.html">HeaderContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderContent">HeaderContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderTemplateProperty" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderTemplateProperty.html">HeaderTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderTemplate">HeaderTemplate</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_View_BoolFilterPresenter_ConditionContent" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContent">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContent.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContent">ConditionContent</a>
        </td>
        <td class="markdown level1 summary"><p>Label content of condition checkbox</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContentTemplate" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ConditionContentTemplate.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ConditionContentTemplate">ConditionContentTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Content template for Label of condition checkbox</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedBackground" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedBackground">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedBackground.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedBackground">ExpandedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Expanded background for expander</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedCornerRadius" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedCornerRadius">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedCornerRadius.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedCornerRadius">ExpandedCornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Corner radius of the presenter</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedMouseOverBrush" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedMouseOverBrush">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.ExpandedMouseOverBrush.html#C1_WPF_DataFilter_View_BoolFilterPresenter_ExpandedMouseOverBrush">ExpandedMouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>MouseOverBrush for expander</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_Filter" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.Filter">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.Filter.html#C1_WPF_DataFilter_View_BoolFilterPresenter_Filter">Filter</a>
        </td>
        <td class="markdown level1 summary"><p>BoolFilter model</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderContent" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderContent">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderContent">HeaderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Header content for the Header of current <a class="xref" href="C1.WPF.DataFilter.BoolFilter.html">BoolFilter</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderTemplate" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_View_BoolFilterPresenter_HeaderTemplate">HeaderTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>DataTemplate that uses in Header</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_View_BoolFilterPresenter_OnApplyTemplate" data-uid="C1.WPF.DataFilter.View.BoolFilterPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.OnApplyTemplate.html#C1_WPF_DataFilter_View_BoolFilterPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.DataFilter.View.BoolFilterPresenter.html">BoolFilterPresenter</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
