[]
        
(Showing Draft Content)

C1.WPF.DataFilter.BaseRangeFilterPresenter-1

BaseRangeFilterPresenter<T> Class

Base class for range filters.

Namespace: C1.WPF.DataFilter
Assembly: C1.WPF.DataFilter.dll
Syntax
[TemplatePart(Name = "From", Type = typeof(TextBlock))]
[TemplatePart(Name = "To", Type = typeof(TextBlock))]
[TemplatePart(Name = "LowerEditor", Type = typeof(Control))]
[TemplatePart(Name = "UpperEditor", Type = typeof(Control))]
[TemplatePart(Name = "Slider", Type = typeof(C1RangeSlider))]
public abstract class BaseRangeFilterPresenter<T> : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDependencyObject where T : Filter
Type Parameters
Name Description
T

Constructors

Name Description
BaseRangeFilterPresenter()

Initializes a new instance of the BaseRangeFilterPresenter<T> class.

Fields

Name Description
FilterProperty

Identifies the Filter dependency property.

FromProperty

Identifies the From dependency property.

HeaderContentProperty

Identifies the HeaderContent dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

ToProperty

Identifies the To dependency property.

Properties

Name Description
Filter

Gets or sets filter associated with this element.

From

Label for Lower editor.

HeaderContent

Gets or sets the content for the Header of current BaseRangeFilterPresenter<T> control.

HeaderTemplate

Gets or sets the DataTemplate used in the header.

IsDisposed

Gets whether this instance is disposed.

IsUpdating

A flag to prevent subsequence property changed event because elements are related to each other.

Slider

Returns the reference to the slider control.

To

Label for upper editor

Methods

Name Description
Dispose()
Dispose(bool)
FilterOnAttachedStateChanged(object, AttachedFilterState)

Filter attached event handler.

FilterOnPropertyChanged(object, PropertyChangedEventArgs)

Filter property changed event handler.

Finalize()
OnApplyTemplate()
OnSliderLowerValueChanged(object, EventArgs)

Called when the lower value of the slider is changed.

OnSliderUpperValueChanged(object, EventArgs)

Called when the upper value of the slider is changed.

SetEditorsVisibility(Visibility)

Sets visibility of editors to the specified value.