Table of Contents

Class SearchDialog

Namespace
Alternet.Editor.Dialogs
Assembly
Alternet.Editor.v9.dll

Represents a dialog box that allows user to search for the text.

public class SearchDialog : ISearchDialog, IDisposable
Inheritance
SearchDialog
Implements

Properties

Font

Gets or sets a font for the dialog to use.

IsFocused

Gets a boolean value indicating whether dialog box is visible.

OwnerForm

Gets or sets form that owns this dialog.

SearchDlg

Gets dialog form associated with search dialog.

SearchSettings

Gets search settings associated with search dialog.

Visible

Gets or sets a value indicating whether dialog box is visible.

Methods

Close()

Closes the dialog.

CreateSearchDlg()
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)
Done(ISearch)

Finishes search.

DoneSearch(ISearch)

Finishes search.

EnableRegularExpressions(bool)

When implemented by a class, enables/disables regular expressions.

EnsureVisible(Rectangle)

Ensures that the search dialog box is visible in specified rectangle, moving it if necessary.

Execute(ISearch, bool, bool)

Initializes and runs a search dialog box.

Execute(ISearch, bool, bool, IWin32Window)

Initializes and runs a search dialog box.

OnFontChanged()
OnOnwerFormChanged()
OnVisibleChanged()
ShowRegularExpressions(bool)

When implemented by a class, shows/hide regular expressions.

ToggleHiddenText()

Toggles searching through hidden text on/off.

ToggleMatchCase()

Toggles case sensitive searching on/off.

TogglePromptOnReplace()

Toggles prompting before replacing on/off.

ToggleRegularExpressions()

Toggles using regular expressions on/off.

ToggleSearchUp()

Toggles searching direction towards/backwards.

ToggleWholeWord()

Toggles searching for whole words on/off.

Events

HelpRequested

Occurs when user requests help for a control.