ICollectionViewGroup interface

Applies to Windows and Windows Phone

Represents any grouped items within a view.

Syntax


public interface ICollectionViewGroup

Attributes

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

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

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

See also

CollectionViewSource
Binding
XAML data binding sample
Data binding overview

 

 

Show:
© 2014 Microsoft