CollectionView Filtering

The CollectionView has a filter property that can be used to specify a filter function. The filter function defines which items should be included in the view when the filter is applied. The sample below provides some predefined 'select' filters defined by the filter function.