ClassHighlightTextInfo
Class
Stores information for a portion of the RadHighlightTextBlock text that needs to be highlighted.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
cs-api-definition
public class HighlightTextInfo
Inheritance: objectHighlightTextInfo
Constructors
HighlightTextInfo(int, int, string, Brush, Brush)
Initializes a new instance of the HighlightTextInfo class.
Properties
Background
Gets the background that will be applied to this match.
Declaration
cs-api-definition
public Brush Background { get; }
Property Value
Brush
Foreground
Gets the foreground that will be applied to this match.
Declaration
cs-api-definition
public Brush Foreground { get; }
Property Value
Brush
Index
Gets the starting index of the match within the entire text.
Length
Gets the length of the matching text.
Text
Gets the portion of the text that will be highlighted.
TextRange
Gets the TextRange that will be highlighted.
Declaration
cs-api-definition
public TextRange TextRange { get; }
Property Value
TextRange