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 Highlight
Declaration
public HighlightTextBlock(SearchStateManager searchStateManager)
Parameters
Search
|
Fields
HighlightBrushProperty
Identifies the HighlightBrush dependency property.
Declaration
public static readonly DependencyProperty HighlightBrushProperty
Field Value
System.
|
HighlightTextProperty
Identifies the HighlightText dependency property.
Declaration
public static readonly DependencyProperty HighlightTextProperty
Field Value
System.
|
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.
|
DataType
Gets or sets the data type of the property bound the to Text property.
Declaration
public Type DataType { get; set; }
Property Value
System. The type of the property bound to TextProperty. |
HighlightBrush
Gets or sets the highlight brush.
Declaration
public Brush HighlightBrush { get; set; }
Property Value
System.
|
HighlightText
Gets or sets the highlighted text.
Declaration
public string HighlightText { get; set; }
Property Value
System.
|
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|