ICollectionViewLiveShaping.CanChangeLiveGrouping Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

bool CanChangeLiveGrouping { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 4.5
Return to top
Show: