PivotViewerItem.GetPivotPropertyById Method

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

Gets the PivotViewerProperty of the PivotViewerItem with the specified Id.

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

Syntax

'Declaration
Public Function GetPivotPropertyById ( _
    propertyId As String _
) As PivotViewerProperty
public PivotViewerProperty GetPivotPropertyById(
    string propertyId
)

Parameters

Return Value

Type: System.Windows.Controls.Pivot.PivotViewerProperty
PivotViewerProperty with the specified id; nulla null reference (Nothing in Visual Basic) if no such PivotViewerProperty exists.

Exceptions

Exception Condition
ArgumentNullException

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

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.