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