Interface ICollectionViewLiveShaping
A collection view can implement the ICollectionViewLiveShaping interface if it supports "live shaping" - the incremental recomputation of sorting, filtering, and/or grouping after a relevant property value changes.
public interface ICollectionViewLiveShaping
Properties
- CanChangeLiveFiltering
Gets a value that indicates whether this view supports turning live filtering on or off.
- CanChangeLiveGrouping
Gets a value that indicates whether this view supports turning live grouping on or off.
- CanChangeLiveSorting
Gets a value that indicates whether this view supports turning live sorting on or off.
- IsLiveFiltering
Gets or sets a value that indicates whether live filtering is enabled. The value may be null if the view does not know whether live filtering is enabled. Calling the setter when CanChangeLiveFiltering is false will throw an InvalidOperationException.
- IsLiveGrouping
Gets or sets a value that indicates whether live grouping is enabled. The value may be null if the view does not know whether live grouping is enabled. Calling the setter when CanChangeLiveGrouping is false will throw an InvalidOperationException.
- IsLiveSorting
Gets or sets a value that indicates whether live sorting is enabled. The value may be null if the view does not know whether live sorting is enabled. Calling the setter when CanChangeLiveSorting is false will throw an InvalidOperationException.
- LiveFilteringProperties
Gets a collection of strings describing the properties that trigger a live-filtering recalculation. The strings use the same format as SortDescription.PropertyName.
- LiveGroupingProperties
Gets a collection of strings describing the properties that trigger a live-grouping recalculation. The strings use the same format as PropertyGroupDescription.PropertyName.
- LiveSortingProperties
Gets a collection of strings describing the properties that trigger a live-sorting recalculation. The strings use the same format as SortDescription.PropertyName.