Table of Contents

Method Execute

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Execute(object, int, ref int)

Displays a goto dialog.

public virtual bool Execute(object sender, int lines, ref int line)

Parameters

sender object

Specifies object owning the dialog.

lines int

Number of lines in the control's text content.

line int

Index of the current line. When dialog executes receives index of the new line.

Returns

bool

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.

Execute(object, int, ref int, Window)

Displays a goto dialog.

public virtual bool Execute(object sender, int lines, ref int line, Window owner)

Parameters

sender object

Specifies object owning the dialog.

lines int

Number of lines in the control's text content.

line int

Index of the current line. When dialog executes receives index of the new line.

owner Window

Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.

Returns

bool

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.

Execute(object, int, ref int, OwnerWindow)

Displays a goto dialog.

public virtual bool Execute(object sender, int lines, ref int line, OwnerWindow owner)

Parameters

sender object

Specifies object owning the dialog.

lines int

Number of lines in the control's text content.

line int

Index of the current line. When dialog executes receives index of the new line.

owner OwnerWindow

Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.

Returns

bool

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.