C# ListView Filtering Feature
Kettic ListView WinForms Control is capable of filtering in ListView control for C# Windows Forms applications. Furthermore, the filtering can be performed in all views in ListView control. The filtering mechanism for ListView makes it easy to use the component for Windows Forms project being deployed on other C#.NET applications. It is really easy to perform the filtering operations on the fly when the users exposed event for filtering items.
How to Enable Filtering for ListView in C#
To enable the filtering functionality for ListView component, we need to use the EnableFiltering property of the Kettic ListView control. The following is the simple C# code snippet to accomplish this.
C# code for enabling filtering to ListView control
How to Filter by Value in ListView using C#.NET
The filtering feature allows the users to filter items either by value or by type. When we enable the items filtering functionality, we must create a new FilterDescriptor and assign values to the properties including PropertyName, FilterOperator and SearchCriteria. The C# code below demonstrates that how to perform items filtering by value.
C# code for filtering items by value in ListView control
How to Filter by Type in ListView using C#.NET
Kettic ListView is capable of filtering by type of the items. This is accomplished by specifying the column name in list view via the PropertyName property of the filter descriptor. The following is the C# code that shows how to filter items by types.
C# code for filtering items by types in ListView control
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls