# C1.WPF.DataFilter.View.RangeFilterPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_DataFilter_View_RangeFilterPresenter" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter" class="text-break">RangeFilterPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Filter control for model Filter has value in range</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">RangeFilterPresenter</span></div>
      <div class="level8"><a class="xref" href="C1.WPF.DataFilter.View.DateRangeFilterPresenter.html">DateRangeFilterPresenter</a></div>
      <div class="level8"><a class="xref" href="C1.WPF.DataFilter.View.NumericRangeFilterPresenter.html">NumericRangeFilterPresenter</a></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_RangeFilterPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Header&quot;, Type = typeof(C1HeaderedContentControl))]
[TemplatePart(Name = &quot;From&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;To&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;LowerEditorPresenter&quot;, Type = typeof(ContentPresenter))]
[TemplatePart(Name = &quot;UpperEditorPresenter&quot;, Type = typeof(ContentPresenter))]
[TemplatePart(Name = &quot;Slider&quot;, Type = typeof(C1RangeSlider))]
public abstract class RangeFilterPresenter : 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;From&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;To&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;LowerEditorPresenter&quot;, Type:=GetType(ContentPresenter))&gt;
&lt;TemplatePart(Name:=&quot;UpperEditorPresenter&quot;, Type:=GetType(ContentPresenter))&gt;
&lt;TemplatePart(Name:=&quot;Slider&quot;, Type:=GetType(C1RangeSlider))&gt;
Public MustInherit Class RangeFilterPresenter
    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_RangeFilterPresenter__ctor" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.#ctor">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.-ctor.html#C1_WPF_DataFilter_View_RangeFilterPresenter__ctor">RangeFilterPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.html">RangeFilterPresenter</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_RangeFilterPresenter_ExpandedBackgroundProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedBackgroundProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedBackgroundProperty.html">ExpandedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedBackground.html#C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedBackground">ExpandedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedCornerRadiusProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedCornerRadiusProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedCornerRadiusProperty.html">ExpandedCornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedCornerRadius.html#C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedCornerRadius">ExpandedCornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedMouseOverBrushProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedMouseOverBrushProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedMouseOverBrushProperty.html">ExpandedMouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedMouseOverBrush.html#C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedMouseOverBrush">ExpandedMouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_FilterProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.FilterProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.FilterProperty.html">FilterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>FilterProperty</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_FromProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.FromProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.FromProperty.html">FromProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.From.html#C1_WPF_DataFilter_View_RangeFilterPresenter_From">From</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderContentProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderContentProperty.html">HeaderContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderContent">HeaderContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderTemplateProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderTemplateProperty.html">HeaderTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderTemplate">HeaderTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorContentProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorContentProperty.html">LowerEditorContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorContent">LowerEditorContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorTemplateProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorTemplateProperty.html">LowerEditorTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorTemplate">LowerEditorTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_ToProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ToProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ToProperty.html">ToProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.To.html#C1_WPF_DataFilter_View_RangeFilterPresenter_To">To</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorContentProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorContentProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorContentProperty.html">UpperEditorContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorContent">UpperEditorContent</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorTemplateProperty" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorTemplateProperty">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorTemplateProperty.html">UpperEditorTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorTemplate">UpperEditorTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter__lowerEditor" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter._lowerEditor">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter._lowerEditor.html">_lowerEditor</a>
        </td>
        <td class="markdown level1 summary"><p>Cached editors UI element</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter__upperEditor" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter._upperEditor">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter._upperEditor.html">_upperEditor</a>
        </td>
        <td class="markdown level1 summary"><p>Cached editors UI element</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_RangeFilterPresenter_ExpandedBackground" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedBackground">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedBackground.html#C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedBackground">ExpandedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Expanded background for expander</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedCornerRadius" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedCornerRadius">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedCornerRadius.html#C1_WPF_DataFilter_View_RangeFilterPresenter_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_RangeFilterPresenter_ExpandedMouseOverBrush" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedMouseOverBrush">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.ExpandedMouseOverBrush.html#C1_WPF_DataFilter_View_RangeFilterPresenter_ExpandedMouseOverBrush">ExpandedMouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>MouseOverBrush for expander</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_Filter" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.Filter">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.Filter.html#C1_WPF_DataFilter_View_RangeFilterPresenter_Filter">Filter</a>
        </td>
        <td class="markdown level1 summary"><p>Filter model</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_From" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.From">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.From.html#C1_WPF_DataFilter_View_RangeFilterPresenter_From">From</a>
        </td>
        <td class="markdown level1 summary"><p>Label for Lower editor</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderContent" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderContent">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderContent">HeaderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Header content for the Header of current <a class="xref" href="C1.WPF.DataFilter.RangeFilter.html">RangeFilter</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderTemplate" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.HeaderTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_HeaderTemplate">HeaderTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>DataTemplate that uses in Header</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorContent" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorContent">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorContent">LowerEditorContent</a>
        </td>
        <td class="markdown level1 summary"><p>Content for Lower Editor</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorTemplate" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LowerEditorTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_LowerEditorTemplate">LowerEditorTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>DataTemplate of LowerEditor</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_To" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.To">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.To.html#C1_WPF_DataFilter_View_RangeFilterPresenter_To">To</a>
        </td>
        <td class="markdown level1 summary"><p>Label for upper editor</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorContent" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorContent">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorContent.html#C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorContent">UpperEditorContent</a>
        </td>
        <td class="markdown level1 summary"><p>Content for Upper Editor</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorTemplate" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpperEditorTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_UpperEditorTemplate">UpperEditorTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>DataTemplate of UpperEditor</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_RangeFilterPresenter_BindAppearance_System_Windows_Controls_Control_" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.BindAppearance(System.Windows.Controls.Control)">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.BindAppearance.html#C1_WPF_DataFilter_View_RangeFilterPresenter_BindAppearance_System_Windows_Controls_Control_">BindAppearance(Control)</a>
        </td>
        <td class="markdown level1 summary"><p>Binding appearance (foreground, background)</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_LoadEditors_System_Type_" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.LoadEditors(System.Type)">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.LoadEditors.html#C1_WPF_DataFilter_View_RangeFilterPresenter_LoadEditors_System_Type_">LoadEditors(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Load Editors from DataTemplate</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_OnApplyTemplate" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.OnApplyTemplate.html#C1_WPF_DataFilter_View_RangeFilterPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.html">RangeFilterPresenter</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_View_RangeFilterPresenter_UpdateEditorsType" data-uid="C1.WPF.DataFilter.View.RangeFilterPresenter.UpdateEditorsType">
          <a class="xref" href="C1.WPF.DataFilter.View.RangeFilterPresenter.UpdateEditorsType.html#C1_WPF_DataFilter_View_RangeFilterPresenter_UpdateEditorsType">UpdateEditorsType()</a>
        </td>
        <td class="markdown level1 summary"><p>Update EditorsType of editors</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
