Class PopupPanelDlgSearch
Represents a windows form used to provide search and replace dialog.
public class PopupPanelDlgSearch : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IDlgSearch, IControl, IDisposable, IVsControlResourceProvider
- Inheritance
-
PopupPanelDlgSearch
- Implements
Constructors
- PopupPanelDlgSearch()
Initializes a new instance of the
DlgSearch
class with default settings.
Fields
Properties
- ClearBookmarks
Indicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
- IsReplace
Gets or sets a boolean value that indicates whether search or replace dialog should be executed.
- Options
Gets or sets options that defines search and replace behavior.
- OptionsVisible
Indicates whether options group box should be visible.
- Painter
When implemented by a class, gets or sets painter object associated with this dialog
- ReplaceList
Represents the replace history for the replace dialog.
- Search
Gets or sets
ISearch
interface owning the dialog.
- SearchList
Represents the search history for the search dialog.
- SelectionEnabled
Gets or sets a boolean value that indicates whether search can be executed through selected text.
- Width
When implemented by a class, gets or sets the width of the control.
Methods
- Close()
Closes the dialog.
- Dispose(bool)
Clean up any resources being used.
- EnableRegularExpressions(bool)
Enables/disables regular expressions.
- HighlightAll()
Highlights all occurrences of the search text.
- Init()
Resets
DlgSearch
to the start of search.
- Init(ISearch, SearchOptions)
Resets
NewIDlgSearch
to the start of search.ISearch
object that performs search. New search options.
- OnFontChanged(EventArgs)
Raises the FontChanged event.
- OnLoad(EventArgs)
Raises the Load event.
- OnSizeChanged(EventArgs)
Raises the SizeChanged event.
- ProcessCmdKey(ref Message, Keys)
Processes a command key.
- Show(IControl)
Displays the dialog with the specified parent control.
- ShowRegularExpressions(bool)
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.
- UpdateFindText(string)
Updates text to find.
- UpdateSearch(ISearch, bool)
Updates search engine.
Events
- Closed
Occurs when the dialog is closed.