Table of Contents

Class LaunchUriOrFileAction

Namespace
Microsoft.Xaml.Behaviors.Core
Assembly
Microsoft.Xaml.Behaviors.dll

An action that will launch a process to open a file or Uri. For files, this action will launch the default program for the given file extension. A Uri will open in a web browser.

public class LaunchUriOrFileAction : TriggerAction<DependencyObject>, IAttachedObject
Inheritance
TriggerAction<DependencyObject>
LaunchUriOrFileAction
Implements
Inherited Members

Constructors

LaunchUriOrFileAction()

public LaunchUriOrFileAction()

Fields

PathProperty

public static readonly DependencyProperty PathProperty

Field Value

DependencyProperty

Properties

Path

The file or Uri to open.

public string Path { get; set; }

Property Value

string

Methods

Invoke(object)

This method is called when some criteria is met and the action is invoked.

protected override void Invoke(object parameter)

Parameters

parameter object