Class HighlightingTextBlock
A specialized highlighting text block control. http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/
public class HighlightingTextBlock : TextBlock, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IContentHost, IAddChild, IServiceProvider, IComponentConnector
- Inheritance
-
HighlightingTextBlock
- Implements
- Inherited Members
- Extension Methods
Constructors
HighlightingTextBlock()
Initializes a new HighlightingTextBlock class.
public HighlightingTextBlock()
Fields
HighlightBrushProperty
Identifies the HighlightBrush dependency property.
public static readonly DependencyProperty HighlightBrushProperty
Field Value
- DependencyProperty
HighlightFontWeightProperty
Identifies the HighlightFontWeight dependency property.
public static readonly DependencyProperty HighlightFontWeightProperty
Field Value
- DependencyProperty
HighlightTextProperty
Identifies the HighlightText dependency property.
public static readonly DependencyProperty HighlightTextProperty
Field Value
- DependencyProperty
Properties
HighlightBrush
Gets or sets the highlight brush.
public Brush HighlightBrush { get; set; }
Property Value
HighlightFontWeight
Gets or sets the font weight used on highlighted text.
public FontWeight HighlightFontWeight { get; set; }
Property Value
HighlightText
Gets or sets the highlighted text.
public string HighlightText { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()