PivotViewerItem.Add Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Adds values to the specified PivotViewerProperty of the PivotViewerItem.
Namespace: System.Windows.Controls.Pivot
Assembly: System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)
Syntax
'Declaration
Public Sub Add ( _
property As PivotViewerProperty, _
values As IList _
)
public void Add(
PivotViewerProperty property,
IList values
)
Parameters
- property
Type: System.Windows.Controls.Pivot.PivotViewerProperty
PivotViewerProperty to add values.
- values
Type: System.Collections.IList
values to add.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | property or values is nulla null reference (Nothing in Visual Basic). |
ArgumentException | PivotViewerItem already has a value for the specified PivotViewerProperty. |
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.