Condividi tramite


PivotViewerItem Constructor (String)

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

Initializes a new instance of the PivotViewerItem class.

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

Syntax

'Declaration
Public Sub New ( _
    id As String _
)
public PivotViewerItem(
    string id
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

id is nulla null reference (Nothing in Visual Basic).

ArgumentException

Id is empty or contains white spaces.

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.