[]
        
(Showing Draft Content)

C1.WPF.DataFilter.View.RangeFilterPresenter

RangeFilterPresenter Class

Filter control for model Filter has value in range

Namespace: C1.WPF.DataFilter.View
Assembly: C1.WPF.DataFilter.4.6.2.dll
Syntax
[TemplatePart(Name = "Header", Type = typeof(C1HeaderedContentControl))]
[TemplatePart(Name = "From", Type = typeof(TextBlock))]
[TemplatePart(Name = "To", Type = typeof(TextBlock))]
[TemplatePart(Name = "LowerEditorPresenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "UpperEditorPresenter", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "Slider", Type = typeof(C1RangeSlider))]
public abstract class RangeFilterPresenter : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
RangeFilterPresenter()

Initializes a new instance of a RangeFilterPresenter.

Fields

Name Description
ExpandedBackgroundProperty

Identifies the ExpandedBackground dependency property.

ExpandedCornerRadiusProperty

Identifies the ExpandedCornerRadius dependency property.

ExpandedMouseOverBrushProperty

Identifies the ExpandedMouseOverBrush dependency property.

FilterProperty

FilterProperty

FromProperty

Identifies the From dependency property.

HeaderContentProperty

Identifies the HeaderContent dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

LowerEditorContentProperty

Identifies the LowerEditorContent dependency property.

LowerEditorTemplateProperty

Identifies the LowerEditorTemplate dependency property.

ToProperty

Identifies the To dependency property.

UpperEditorContentProperty

Identifies the UpperEditorContent dependency property.

UpperEditorTemplateProperty

Identifies the UpperEditorTemplate dependency property.

_lowerEditor

Cached editors UI element

_upperEditor

Cached editors UI element

Properties

Name Description
ExpandedBackground

Expanded background for expander

ExpandedCornerRadius

Corner radius of the presenter

ExpandedMouseOverBrush

MouseOverBrush for expander

Filter

Filter model

From

Label for Lower editor

HeaderContent

Header content for the Header of current RangeFilter control.

HeaderTemplate

DataTemplate that uses in Header

LowerEditorContent

Content for Lower Editor

LowerEditorTemplate

DataTemplate of LowerEditor

To

Label for upper editor

UpperEditorContent

Content for Upper Editor

UpperEditorTemplate

DataTemplate of UpperEditor

Methods

Name Description
BindAppearance(Control)

Binding appearance (foreground, background)

LoadEditors(Type)

Load Editors from DataTemplate

OnApplyTemplate()

Builds the visual tree for the RangeFilterPresenter control when a new template is applied.

UpdateEditorsType()

Update EditorsType of editors