IPivotViewerUICommand.Icon Property

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

Gets the URI to an image to use for the icon associated with the action.

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

Syntax

'Declaration
ReadOnly Property Icon As Uri
Uri Icon { get; }

Property Value

Type: System.Uri
the URI to an image to use for the icon associated with the action.

Remarks

It is recommended that the images that you use for the icons be included in the XAP as resources. The value of the property would then be a URI relative to the XAP for it to be instantly available to display in the PivotViewer.

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.