Table of Contents

Property Filter

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Filter

Filter is a callback set by the consumer of the ICollectionView and used by the implementation of the ICollectionView to determine if an item is suitable for inclusion in the view.

public virtual Predicate<object> Filter { get; set; }

Property Value

Predicate<object>

Exceptions

NotSupportedException

Simpler implementations do not support filtering and will throw a NotSupportedException. Use CanFilter property to test if filtering is supported before assigning a non-null value.