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