RadControls for WinForms

The GridFilterRowElement is the row that holds the filtering boxes. It appears automatically when you enable filtering (GridViewTemplate.EnableFiltering = true). GridFilterRowElement could be pinned at the top or bottom as well as made scrollable.

gridview-filtering-filtering-row 001

You can hide the operator text of the filter cells by setting the ShowFilterCellOperator property to false:

Copy[C#] Hide filter row
this.radGridView1.MasterTemplate.ShowFilterCellOperatorText = false;
Copy[VB.NET] Hide filter row
Me.RadGridView1.MasterTemplate.ShowFilterCellOperatorText = False
gridview-filtering-filtering-row 002

 

You can also hide the entire GridFilterRowElement

Copy[C#] Hide filter row
this.radGridView1.ShowFilteringRow = false;
Copy[VB.NET] Hide filter row
Me.RadGridView1.ShowFilteringRow = False

 

Note

You can still add FilterDescriptors programmatically when the GridFilterRowElement is hidden.

Caution

Filtering strings not allowed are: " LIKE ", " AND ", " OR ", "\"", ">", "<", "<>", "%", " NULL ", " IS ". Note: the spaces are important (e.g. " LIKE " compared to "LIKE").

You can customize the GridFilterRowElement by using the Visual Style Builder.