ICollectionViewLiveShaping.IsLiveGrouping Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether grouping data in real time is enabled.

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

Nullable<bool> IsLiveGrouping { get; set; }

Property Value

Type: System.Nullable<Boolean>

true if grouping data in real time is enable; false if live grouping is not enabled; null if it cannot be determined whether the collection view implements live grouping.

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. If your CollectionView knows whether the delegate object supports live grouping, set the IsLiveGrouping property to the known value. Otherwise, set IsLiveGrouping to null.

.NET Framework
Available since 4.5
Return to top
Show: