ICollectionViewLiveShaping.IsLiveFiltering Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether filtering data in real time is enabled.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

Nullable<bool> IsLiveFiltering { get; set; }

Property Value

Type: System.Nullable<Boolean>

true if filtering data in real time is enabled; false if live filtering is not enabled; null if it cannot be determined whether the collection view implements live filtering.

Your CollectionView can implement live filtering itself, or you can delegate live filtering to another object, such as the underlying collection. If you delegate live filtering, the CollectionView might not have control over whether it is enabled. Your CollectionView must accept the behavior of the object to which it delegates. If your CollectionView knows whether the delegate object supports live filtering, set the IsLiveFiltering property to the known value. Otherwise, set IsLiveFiltering to null.

.NET Framework
Available since 4.5
Return to top
Show: