Table of Contents

Class SearchDialog

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v10.dll

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

public class SearchDialog : ISearchDialog
Inheritance
SearchDialog
Implements

Properties

AdditionalResources

Gets or sets a dictionary containing additional resources for the dialog window, such as control styles.

CurrentTheme

Gets or sets a dictionary containing theme-related resources for the dialog window, such as combobox or button background.

ImagesResourceNameSuffix

Gets or sets the suffix of the resource name to determine images for the specific color theme.

IsFocused

Gets a boolean value indicating whether dialog box is visible.

Owner

Gets or sets form that owns this dialog.

SearchDialogWindow

Gets a dialog control 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.

CreateSearchDialogWindow()
Done(ISearch)

Frees search engine.

DoneSearch(ISearch)

Finishes search.

EnableRegularExpressions(bool)

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

EnsureVisible(Rect)

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, OwnerWindow)

Initializes and runs a search dialog box.

Execute(ISearch, bool, bool, Window)

Initializes and runs a search dialog box.

OnFontChanged()
OnVisibleChanged()
ShowRegularExpressions(bool)

Shows/hide regular expressions.

ThemeChanged()

Applies visual theme changes to the search dialog.

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.