CxmlCollectionSource.Items Property

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

Gets the list of PivotViewerItems in the CxmlCollectionSource.

Namespace:  System.Windows.Controls.Pivot
Assembly:  System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)

Syntax

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

Property Value

Type: System.Collections.Generic.IEnumerable<PivotViewerItem>
The list of PivotViewerItems in the CxmlCollectionSource. This property is never null.

Remarks

PivotViewerItems must have a unique Id within the CxmlCollectionSource. An ArgumentException will be thrown if you add a PivotViewerItem with a duplicate Id.

Version Information

Silverlight

Supported in: 5

Platforms

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