Share via


ICollectionViewGroup Interface

Definition

Represents any grouped items within a view.

public interface class ICollectionViewGroup
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2527104424, 48696, 23264, 144, 61, 111, 182, 17, 30, 97, 245)]
struct ICollectionViewGroup
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2527104424, 48696, 23264, 144, 61, 111, 182, 17, 30, 97, 245)]
public interface ICollectionViewGroup
Public Interface ICollectionViewGroup
Attributes

Remarks

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.

Properties

Group

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

GroupItems

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

Applies to

See also