ICollectionViewLiveShaping.CanChangeLiveGrouping Property

Definition

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

C#
public bool CanChangeLiveGrouping { get; }

Property Value

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

Remarks

Notes for Inheritors

Your CollectionView can implement live grouping itself, or you can delegate live grouping to another object, such as the underlying collection. If you delegate live grouping, 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 CanChangeLiveGrouping property to false.

Applies to

Produkt Versioner
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10