ICollectionViewLiveShaping.CanChangeLiveGrouping 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 a value that indicates whether the collection view supports turning grouping data in real time on or off.
public:
property bool CanChangeLiveGrouping { bool get(); };
public bool CanChangeLiveGrouping { get; }
member this.CanChangeLiveGrouping : bool
Public ReadOnly Property CanChangeLiveGrouping As Boolean
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
.