Freigeben über


INavigate Interface

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

Defines a method for internal navigation in a Silverlight application.

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

Syntax

'Declaration
Public Interface INavigate
public interface INavigate

The INavigate type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Navigate Displays the content located at the specified URI.

Top

Remarks

Objects within a Silverlight application that will be navigated to using the HyperlinkButton should implement this interface. The HyperlinkButton will search the visual tree for a named (x:Name Attribute) object that matches the TargetName property of the HyperlinkButton. If a match is found, the Navigate method is called on the object, which causes the content of the URI to display.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

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