CollectionViewGroup.Items Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the items that are immediate children of the group.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property Items As ReadOnlyObservableCollection(Of Object)
public ReadOnlyObservableCollection<Object> Items { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyObservableCollection<Object>
A read-only collection of the immediate items in this group. This is either a collection of subgroups or a collection of data items if this group does not have any subgroups.

Remarks

Derived classes use the ProtectedItems property to add or remove items.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.