New to Telerik UI for WinFormsStart a free 30-day trial

Filtering

Updated over 6 months ago

RadCardView allows filtering applied to its CardViewItems. To enable filtering use the EnableFiltering property of the control.

Enable Filtering

C#
this.radCardView1.EnableFiltering = true;

Once the filtering is enabled, we have to create a new FilterDescriptor and assign its PropertyName, FilterOperator and SearchCriteria. First, let’s filter the items by their value and look for items containing with Capital.

Filter by Column

C#
FilterDescriptor columnFilter = new FilterDescriptor("Address", FilterOperator.Contains, "Capital");
this.radCardView1.FilterDescriptors.Add(columnFilter);

Figure 1: Before

WinForms RadCardView Before

Figure 2: After

WinForms RadCardView After

Not finding the help you need?
Contact Support