In This Article

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