ICollectionViewGroup ICollectionViewGroup ICollectionViewGroup ICollectionViewGroup Interface

Definition

Represents any grouped items within a view.

public : interface ICollectionViewGroup
public interface ICollectionViewGroup
Public Interface ICollectionViewGroup
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 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
var object = iCollectionViewGroup.group;
Value
Platform::Object object object object

The grouping context used for grouping the data.

GroupItems 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>
var iObservableVector = iCollectionViewGroup.groupItems;
Value
IObservableVector<Platform::Object> IObservableVector<object> IObservableVector<object> IObservableVector<object>

A collection of items for the group.

See Also