Class
LaunchAction

Launch an external application or open a file with the viewer’s associated handler.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Actions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class LaunchAction : Action

Inheritance: objectActionLaunchAction

Constructors

LaunchAction()

Create an empty launch action.

Declaration

cs-api-definition
public LaunchAction()

LaunchAction(string)

Create a launch action targeting the specified file.

Declaration

cs-api-definition
public LaunchAction(string file)

Parameters

file

string

The path or name of the file to be launched or opened.

Properties

File

Gets or sets the file to launch or open via the operating system.

Declaration

cs-api-definition
public string File { get; set; }

Property Value

string

The file path or name.

OpenInNewWindow

Gets or sets whether the target should open in a new window when supported.

Declaration

cs-api-definition
public bool OpenInNewWindow { get; set; }

Property Value

bool

true if the file should be opened in a new window; otherwise, false.