Επεξεργασία

Κοινή χρήση μέσω


ICollectionViewLiveShaping.CanChangeLiveSorting Property

Definition

Gets a value that indicates whether the collection view supports turning sorting data in real time on or off.

public:
 property bool CanChangeLiveSorting { bool get(); };
public bool CanChangeLiveSorting { get; }
member this.CanChangeLiveSorting : bool
Public ReadOnly Property CanChangeLiveSorting As Boolean

Property Value

true if the collection view supports turning live sorting on or off; otherwise, false.

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. In this case, set the CanChangeLiveSorting property to false.

Applies to