LaunchUriOrFileAction

This page applies to WPF projects only

The LaunchUriOrFileAction behavior makes it easy to open a website or start an application when the behavior is triggered.

To add a LaunchUriOrFileAction

  1. In the Assets panel, click Behaviors, and then drag LaunchUriOrFileAction onto the artboard and drop it 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 added provides the context within which this behavior operates.

  2. In the Common Properties category, in the Path box, type the path of the website or the Uniform Resource Identifier (URI) of the location, file, or application that you want to open.

    LaunchUriOrFileAction

To see a sample of this behavior, visit the Expression Community Gallery Ff723970.xtlink_newWindow(en-us,Expression.40).png.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.