New to Telerik UI for WPFStart a free 30-day trial

FilteringControl.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class FilteringControl : FilteringControlBase, IFilteringControl

Inheritance: objectFilteringControlBaseFilteringControl

Implements: IFilteringControl

Inherited Members FilteringControlBase.IsActivePropertyFilteringControlBase.IsActive

Constructors

Initializes a new instance of the FilteringControl class.

C#
public FilteringControl()

Initializes a new instance of the FilteringControl class.

C#
public FilteringControl(GridViewColumn column)
Parameters:columnGridViewColumn

The column.

Fields

Identifies the DistinctFiltersVisibility dependency property.

C#
public static readonly DependencyProperty DistinctFiltersVisibilityProperty

Identifies the DistinctValuesSearchBoxVisibility dependency property.

C#
public static readonly DependencyProperty DistinctValuesSearchBoxVisibilityProperty

Identifies the FieldFiltersVisibility dependency property.

C#
public static readonly DependencyProperty FieldFiltersVisibilityProperty

Identifies the FilterButtonVisibility dependency property.

C#
public static readonly DependencyProperty FilterButtonVisibilityProperty

Properties

Gets the column this filtering control is serving.

C#
protected GridViewColumn Column { get; }
Property Value:

The column this filtering control is serving.

Gets or sets a value indicating whether distinct values are visible.

C#
public Visibility DistinctFiltersVisibility { get; set; }
Property Value:

true if distinct values are visible; otherwise, false.

Gets or sets a value indicating whether the distinct values search text box is visible.

C#
public Visibility DistinctValuesSearchBoxVisibility { get; set; }
Property Value:

true if the search text box is visible; otherwise, false.

Gets or sets a value indicating whether field filters are visible.

C#
public Visibility FieldFiltersVisibility { get; set; }
Property Value:

true if this field filters are visible; otherwise, false.

Gets or sets a value indicating whether the filter button is visible.

C#
public Visibility FilterButtonVisibility { get; set; }
Property Value:

true if the filter button is visible; otherwise, false.

Methods

Called when the filter is applied.

C#
protected virtual void OnApplyFilter()
C#
public override void OnApplyTemplate()

Called when the filter is cleared.

C#
protected virtual void OnClearFilter()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs
C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs
C#
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
Remarks:

Marks the event as handled.

C#
protected override void OnMouseUp(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
Remarks:

Marks the event as handled.

C#
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters:eMouseWheelEventArgs

Prepares the component for the column it will service.

C#
public override void Prepare(GridViewColumn columnToPrepare)
Parameters:columnToPrepareGridViewColumn

The column to prepare for.

Overrides: FilteringControlBase.Prepare(GridViewColumn)