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