Bewerken

Delen via


ICollectionViewLiveShaping.IsLiveGrouping Property

Definition

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

public:
 property Nullable<bool> IsLiveGrouping { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsLiveGrouping { get; set; }
member this.IsLiveGrouping : Nullable<bool> with get, set
Public Property IsLiveGrouping As Nullable(Of Boolean)

Property Value

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.

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

Applies to