FilteringControl
FilteringControl.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class FilteringControl : FilteringControlBase, IFilteringControl
Inheritance: objectFilteringControlBaseFilteringControl
Implements:
Inherited Members
Constructors
Initializes a new instance of the FilteringControl class.
public FilteringControl()
Initializes a new instance of the FilteringControl class.
Fields
DistinctFiltersVisibilityProperty
DependencyProperty
Identifies the DistinctFiltersVisibility dependency property.
public static readonly DependencyProperty DistinctFiltersVisibilityProperty
DistinctValuesSearchBoxVisibilityProperty
DependencyProperty
Identifies the DistinctValuesSearchBoxVisibility dependency property.
public static readonly DependencyProperty DistinctValuesSearchBoxVisibilityProperty
FieldFiltersVisibilityProperty
DependencyProperty
Identifies the FieldFiltersVisibility dependency property.
public static readonly DependencyProperty FieldFiltersVisibilityProperty
FilterButtonVisibilityProperty
DependencyProperty
Identifies the FilterButtonVisibility dependency property.
public static readonly DependencyProperty FilterButtonVisibilityProperty
Properties
Gets the column this filtering control is serving.
protected GridViewColumn Column { get; }
The column this filtering control is serving.
DistinctFiltersVisibility
Visibility
Gets or sets a value indicating whether distinct values are visible.
public Visibility DistinctFiltersVisibility { get; set; }
true if distinct values are visible; otherwise, false.
DistinctValuesSearchBoxVisibility
Visibility
Gets or sets a value indicating whether the distinct values search text box is visible.
public Visibility DistinctValuesSearchBoxVisibility { get; set; }
true if the search text box is visible; otherwise, false.
FieldFiltersVisibility
Visibility
Gets or sets a value indicating whether field filters are visible.
public Visibility FieldFiltersVisibility { get; set; }
true if this field filters are visible; otherwise, false.
FilterButtonVisibility
Visibility
Gets or sets a value indicating whether the filter button is visible.
public Visibility FilterButtonVisibility { get; set; }
true if the filter button is visible; otherwise, false.
Methods
Called when the filter is applied.
protected virtual void OnApplyFilter()
public override void OnApplyTemplate()
Called when the filter is cleared.
protected virtual void OnClearFilter()
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
protected override void OnKeyDown(KeyEventArgs e)
protected override void OnMouseDown(MouseButtonEventArgs e)
Marks the event as handled.
protected override void OnMouseUp(MouseButtonEventArgs e)
Marks the event as handled.
protected override void OnMouseWheel(MouseWheelEventArgs e)
Prepares the component for the column it will service.
public override void Prepare(GridViewColumn columnToPrepare)
The column to prepare for.
Overrides: