ClassHighlightTextBlock
Represents a special text block that enables coloring of specific char.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class HighlightTextBlock : TextBlock, INotifyPropertyChanged
Inheritance: objectHighlightTextBlock
Implements:
Constructors
HighlightTextBlock()
Initializes a new instance of the HighlightTextBlock class.
Declaration
public HighlightTextBlock()
HighlightTextBlock(SearchStateManager)
Initializes a new instance of the HighlightTextBlock class.
Declaration
public HighlightTextBlock(SearchStateManager searchStateManager)
Parameters
searchStateManager
Fields
HighlightBrushProperty
Identifies the HighlightBrush dependency property.
Declaration
public static readonly DependencyProperty HighlightBrushProperty
Field Value
DependencyProperty
HighlightTextProperty
Identifies the HighlightText dependency property.
Declaration
public static readonly DependencyProperty HighlightTextProperty
Field Value
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
true if the text contains match; otherwise, false.
DataType
Gets or sets the data type of the property bound the to Text property.
Declaration
public Type DataType { get; set; }
Property Value
The type of the property bound to TextProperty.
HighlightBrush
Gets or sets the highlight brush.
Declaration
public Brush HighlightBrush { get; set; }
Property Value
Brush
HighlightText
Gets or sets the highlighted text.
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements