Partager via


Frame.Navigate Method

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

Navigates to the content specified by the uniform resource identifier (URI).

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

Syntax

'Declaration
Public Function Navigate ( _
    source As Uri _
) As Boolean
public bool Navigate(
    Uri source
)

Parameters

  • source
    Type: System.Uri
    The URI representing a page to display in the frame.

Return Value

Type: System.Boolean
true if the navigation started successfully; otherwise, false.

Implements

INavigate.Navigate(Uri)

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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