Class HighlightTextBlock
Represents a special text block that enables coloring of specific char.
Inheritance
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class HighlightTextBlock : TextBlock, INotifyPropertyChanged
Constructors
HighlightTextBlock()
HighlightTextBlock(SearchStateManager)
Initializes a new instance of the HighlightTextBlock class.
Declaration
public HighlightTextBlock(SearchStateManager searchStateManager)
Parameters
SearchStateManager
searchStateManager
|
Fields
HighlightBrushProperty
Identifies the HighlightBrush dependency property.
Declaration
public static readonly DependencyProperty HighlightBrushProperty
Field Value
System.Windows.DependencyProperty
|
HighlightTextProperty
Identifies the HighlightText dependency property.
Declaration
public static readonly DependencyProperty HighlightTextProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ContainsMatch
Gets or sets a value indicating whether the text contains matches based on the search criteria.
Declaration
public bool ContainsMatch { get; set; }
Property Value
System.Boolean
|
DataType
Gets or sets the data type of the property bound the to Text property.
Declaration
public Type DataType { get; set; }
Property Value
System.Type
The type of the property bound to TextProperty. |
HighlightBrush
Gets or sets the highlight brush.
Declaration
public Brush HighlightBrush { get; set; }
Property Value
System.Windows.Media.Brush
|
HighlightText
Gets or sets the highlighted text.
Declaration
public string HighlightText { get; set; }
Property Value
System.String
|
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|