Class FindResult
Search result containing the matched text, its location across one or more runs, and character indices for precise range identification.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.TextSearch
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class FindResult
Properties
FullMatchText
Complete matched text assembled from all runs in the match, reconstructing the original search result.
Declaration
public string FullMatchText { get; }
Property Value
|
System.String
|
RelativeEndIndex
Zero-based character index of the match end within the last run's text, identifying where the matched text concludes.
Declaration
public int RelativeEndIndex { get; }
Property Value
|
System.Int32
|
RelativeStartIndex
Zero-based character index of the match start within the first run's text, identifying where the matched text begins.
Declaration
public int RelativeStartIndex { get; }
Property Value
|
System.Int32
|
Runs
Collection of consecutive runs containing the matched text; single-run matches return one run, multi-run matches span multiple runs.
Declaration
public ReadOnlyCollection<Run> Runs { get; }
Property Value
|
System.Collections.ObjectModel.ReadOnlyCollection<Run>
|