ICollectionViewLiveShaping.IsLiveSorting Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether sorting in real time is enabled.
public:
property Nullable<bool> IsLiveSorting { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsLiveSorting { get; set; }
member this.IsLiveSorting : Nullable<bool> with get, set
Public Property IsLiveSorting As Nullable(Of Boolean)
Property Value
true
if sorting data in real time is enable; false
if live sorting is not enabled; null
if it cannot be determined whether the collection view implements live sorting.
Remarks
Notes for Inheritors
Your CollectionView can implement live sorting itself, or you can delegate live sorting to another object, such as the underlying collection. If you delegate live sorting, 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 sorting, set the IsLiveSorting property to the known value. Otherwise, set IsLiveSorting to null
.