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

Change the Default Selected Filter Operators

To change the default selected filter operators, you have to handle the FilterOperatorsLoading event of RadGridView and set them in the event arguments. When the FilteringMode is FilterRow, you only need to set the first operator.

private void OnRadGridViewFilterOperatorsLoading(object sender, Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs e) 
    if (e.Column.UniqueName == "HireDate") 
        e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.IsGreaterThan; 
        e.DefaultOperator2 = Telerik.Windows.Data.FilterOperator.IsLessThan; 
Private Sub OnRadGridViewFilterOperatorsLoading(sender As Object, e As Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs) 
    If e.Column.UniqueName = "HireDate" Then 
        e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.IsGreaterThan 
        e.DefaultOperator2 = Telerik.Windows.Data.FilterOperator.IsLessThan 
    End If 
End Sub 

Please, note that you cannot reorder the available operators.

In this article