Class HighlightingTextBlock
A specialized highlighting text block control. http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/
Implements
Namespace: Ecng.Xaml
Assembly: StockSharp.Xaml.dll
Syntax
public class HighlightingTextBlock : TextBlock, IComponentConnector
Constructors
HighlightingTextBlock()
Initializes a new HighlightingTextBlock class.
Declaration
public HighlightingTextBlock()
Fields
HighlightBrushProperty
Identifies the HighlightBrush dependency property.
Declaration
public static readonly DependencyProperty HighlightBrushProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
HighlightFontWeightProperty
Identifies the HighlightFontWeight dependency property.
Declaration
public static readonly DependencyProperty HighlightFontWeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
HighlightTextProperty
Identifies the HighlightText dependency property.
Declaration
public static readonly DependencyProperty HighlightTextProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
HighlightBrush
Gets or sets the highlight brush.
Declaration
public Brush HighlightBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush |
HighlightFontWeight
Gets or sets the font weight used on highlighted text.
Declaration
public FontWeight HighlightFontWeight { get; set; }
Property Value
Type | Description |
---|---|
FontWeight |
HighlightText
Gets or sets the highlighted text.
Declaration
public string HighlightText { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()