New to Telerik UI for WPF? Start a free 30-day trial

FilteringControl.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public class FilteringControl : FilteringControlBase, IDisposable

Inheritance: objectFilteringControlBaseFilteringControl

Implements: IDisposable

Inherited Members FilteringControlBase.IsActivePropertyFilteringControlBase.IsActive

Constructors

Initializes a new instance of the FilteringControl class.

C#
public FilteringControl(RadVirtualGrid grid, int columnIndex, Type dataType, string memberName)
Parameters:gridRadVirtualGridcolumnIndexintdataTypeTypememberNamestring

Initializes a new instance of the FilteringControl class.

C#
public FilteringControl(RadVirtualGrid grid)
Parameters:gridRadVirtualGrid

Fields

Identifies the DistinctFiltersVisibility dependency property.

C#
public static readonly DependencyProperty DistinctFiltersVisibilityProperty

Identifies the FieldFiltersVisibility dependency property.

C#
public static readonly DependencyProperty FieldFiltersVisibilityProperty

Identifies the FilterButtonVisibility dependency property.

C#
public static readonly DependencyProperty FilterButtonVisibilityProperty

Properties

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 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

C#
public void Dispose()

Implements: IDisposable.Dispose()

Calls IDisposable.Dispose.

C#
protected virtual void Dispose(bool disposeManagedResources)
Parameters:disposeManagedResourcesbool

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 OnMouseDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

Marks the event as handled.

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

Marks the event as handled.

Prepares the component for the column it will service.

C#
public override void Prepare()

Overrides: FilteringControlBase.Prepare()