Sdílet prostřednictvím


ICollectionViewGroup Interface

Definition

Represents any grouped items within a view.

public interface class ICollectionViewGroup
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2114042328, 55221, 18614, 179, 28, 91, 181, 189, 245, 240, 155)]
struct ICollectionViewGroup
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2114042328, 55221, 18614, 179, 28, 91, 181, 189, 245, 240, 155)]
public interface ICollectionViewGroup
Public Interface ICollectionViewGroup
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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