ICollectionViewGroup ICollectionViewGroup ICollectionViewGroup Interface


Represents any grouped items within a view.

public : interface ICollectionViewGroup
public interface ICollectionViewGroup
Public Interface ICollectionViewGroup
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ICollectionViewGroup is used like a view model to represent a group within a collection. When implementing a custom grouped data source, your data source should implement ICollectionViewFactory. For more info, see ICollectionViewFactory and ICollectionView.


Group Group Group

Gets or sets the grouping context used for grouping the data, which sets the data context for the default HeaderTemplate.

public : Platform::Object Group { get; }
public object Group { get; }
Public ReadOnly Property Group As object
Platform::Object object object

The grouping context used for grouping the data.

GroupItems GroupItems GroupItems

Gets the collection of grouped items that this ICollectionViewGroup implementation represents.

public : IObservableVector<Platform::Object> GroupItems { get; }
public IObservableVector<object> GroupItems { get; }
Public ReadOnly Property GroupItems As IObservableVector<object>
IObservableVector<Platform::Object> IObservableVector<object> IObservableVector<object>

A collection of items for the group.

See Also