Table of Contents

Method Execute

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

Execute(ISearch, bool, bool)

When implemented by a class, initializes and runs a search dialog box.

bool Execute(ISearch search, bool isModal, bool isReplace)

Parameters

search ISearch

Specifies ISearch interface owning the dialog.

isModal bool

Indicates whether search dialog should appear in modal state.

isReplace bool

Indicates whether search or replace dialog should be executed.

Returns

bool

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

Execute(ISearch, bool, bool, Window)

When implemented by a class, initializes and runs a search dialog box.

bool Execute(ISearch search, bool isModal, bool isReplace, Window owner)

Parameters

search ISearch

Specifies ISearch interface owning the dialog.

isModal bool

Indicates whether search dialog should appear in modal state.

isReplace bool

Indicates whether search or replace dialog should be executed.

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(ISearch, bool, bool, OwnerWindow)

When implemented by a class, initializes and runs a search dialog box.

bool Execute(ISearch search, bool isModal, bool isReplace, OwnerWindow owner)

Parameters

search ISearch

Specifies ISearch interface owning the dialog.

isModal bool

Indicates whether search dialog should appear in modal state.

isReplace bool

Indicates whether search or replace dialog should be executed.

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.