| List for WinForms Task-Based Help > Hiding Rows Using RowFilter > Undo Hiding Rows Using RowFilter |
To undo hiding a row, use the RowFilter property to return to the default view. Add the following RowFilter code, in this example the code was added to the Clear RowFilter button's Click event:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
Me.CustomersBindingSource.Filter = "" |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
this.CustomersBindingSource.Filter = ""; |
|
When the Clear RowFilter button is clicked, all of the rows in the C1List control are visible.
