Share via


HyperlinkAction (Blend SDK for Silverlight)

0b2c798e-86c6-4ea2-a8a6-5cf1f12be1e2

You can use the HyperlinkAction action to easily navigate to a website address when the behavior is triggered.

To add a HyperlinkAction

  1. In the Assets panel, click Behaviors, and then drag HyperlinkAction onto the object that you want to apply the action to. The Common Properties category appears in the Properties panel.

    Note

    The object to which the behavior is attached provides the context for the behavior.

  2. In the Common Properties category, in the NavigateURI drop-down list, type or select the page that you want to navigate to.

    HyperlinkAction

  3. Optionally, in the TargetWindow box, type one of the following:

    • _blank   Opens a new window.

    • _parent   Opens the root window.

    • _self   Loads the URL in the current frame.

    Tip

    Additional TargetWindow options are available. For more information, see open Method on MSDN.

    You can also type the name of the frame that you want the URL to open in.