EditorSearchView Class
Represents a default implementation of a view that can be used to perform searching within an editor.
public class EditorSearchView : SearchViewBase
- Inheritance:
- object Visual UIElement FrameworkElement Control SearchViewBase object
Constructors
EditorSearchView()
Initializes an instance of the EditorSearchView
class.
public EditorSearchView()
Properties
SyntaxEditor
Gets or sets the SyntaxEditor whose contents will be searched.
public SyntaxEditor SyntaxEditor { get; set; }
Property Value
- SyntaxEditor:
The SyntaxEditor whose contents will be searched.
TargetView
Gets the target IEditorView in which the searching will occur.
public override IEditorView TargetView { get; }
Property Value
- IEditorView:
The target IEditorView in which the searching will occur.
Methods
OnSearching(SearchOperationType)
Occurs before a search operation is executed by the end user.
protected override void OnSearching(SearchOperationType operationType)
Parameter | Type | Description |
---|---|---|
operationType | SearchOperationType | A SearchOperationType that indicates the search operation type. |
Fields
SyntaxEditorProperty
Identifies the SyntaxEditor dependency property. This field is read-only.
public static readonly DependencyProperty SyntaxEditorProperty
Inherited Members
- SearchViewBase.AnimationDurationProperty
- SearchViewBase.ButtonStyleProperty
- SearchViewBase.CanToggleReplaceProperty
- SearchViewBase.HasNoSearchResultsProperty
- SearchViewBase.IsFindAllButtonVisibleProperty
- SearchViewBase.IsOptionsPanelExpandedProperty
- SearchViewBase.IsReplaceVisibleProperty
- SearchViewBase.SearchOptionsProperty
- SearchViewBase.SearchPatternProviderFactoryProperty
- SearchViewBase.UseRegularExpressionsProperty
- SearchViewBase.FocusFindWhatTextBox()
- SearchViewBase.OnFindSearchOptionsChanged()
- SearchViewBase.OnFindWhatTextBoxKeyDown(KeyEventArgs)
- SearchViewBase.OnReplaceWithTextBoxKeyDown(KeyEventArgs)
- SearchViewBase.OnSearchOptionsChanged()
- SearchViewBase.OnSearchScopeChanged()
- SearchViewBase.RaiseCanExecuteChangedForCommands()
- SearchViewBase.OnApplyTemplate()
- SearchViewBase.FindAllCommand
- SearchViewBase.FindNextCommand
- SearchViewBase.FindWhatTextBox
- SearchViewBase.ReplaceAllCommand
- SearchViewBase.ReplaceNextCommand
- SearchViewBase.ReplaceWithTextBox
- SearchViewBase.ToggleOptionsPanelExpandedCommand
- SearchViewBase.AnimationDuration
- SearchViewBase.ButtonStyle
- SearchViewBase.CanToggleReplace
- SearchViewBase.HasNoSearchResults
- SearchViewBase.IsFindAllButtonVisible
- SearchViewBase.IsOptionsPanelExpanded
- SearchViewBase.IsReplaceVisible
- SearchViewBase.SearchOptions
- SearchViewBase.SearchPatternProviders
- SearchViewBase.SearchPatternProviderFactory
- SearchViewBase.UseRegularExpressions
- SearchViewBase.SearchOptionsChanged