ClassSearchResult
Describes a single successful text match, exposing its range, extracted string value, and convenience helpers for layout info.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Search
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class SearchResult
Inheritance: objectSearchResult
Properties
NotFound
Gets a sentinel instance returned when no match is found.
Declaration
public static SearchResult NotFound { get; }
Property Value
The value represents a default SearchResult instance when there is no search result found.
Range
Gets the range spanning the matched text in the document.
Methods
GetResultPage()
Gets the fixed page containing the match.
Declaration
public RadFixedPage GetResultPage()
Returns
The page containing the search result.
GetWordBoundingRect()
Gets the layout bounding rectangle of the first word in the match (for hit highlighting).
Declaration
public Rect GetWordBoundingRect()
Returns
Returns the bounding rectangle of the result word.
ToString()
Returns the matched string value.
Declaration
public override string ToString()
Returns
A string that represents the current object.
Overrides