New to Telerik UI for WPFStart a free 30-day trial

Class TextSearchedEventArgs. Implements the EventArgs

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public class TextSearchedEventArgs : EventArgs

Inheritance: objectEventArgsTextSearchedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the TextSearchedEventArgs class.

C#
public TextSearchedEventArgs(string searchText, Span? foundSpan, bool isSearchForward)
Parameters:searchTextstring

The searched text.

foundSpanSpan?

The found span.

isSearchForwardbool

Is search forward.

Properties

Gets the found span object.

C#
public Span? FoundSpan { get; }
Property Value:

The text.

Gets the search direction.

C#
public bool IsSearchForward { get; }
Property Value:

The text.

Gets the search text.

C#
public string SearchText { get; }
Property Value:

The text.