Windows Dev Center

ICollectionViewGroup interface

Represents any grouped items within a view.

Syntax


public interface ICollectionViewGroup

Members

The ICollectionViewGroup interface has these types of members:

Properties

The ICollectionViewGroup interface has these properties.

PropertyAccess typeDescription

Group

Read-onlyGets or sets the grouping context used for grouping the data, which sets the data context for the default HeaderTemplate.

GroupItems

Read-onlyGets the collection of grouped items that this ICollectionViewGroup implementation represents.

 

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

CollectionViewSource
Binding
XAML data binding sample
Data binding overview

 

 

Show:
© 2015 Microsoft