Table of Contents

Class HighlightingTextBlock

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

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

Brush

HighlightFontWeight

Gets or sets the font weight used on highlighted text.

public FontWeight HighlightFontWeight { get; set; }

Property Value

FontWeight

HighlightText

Gets or sets the highlighted text.

public string HighlightText { get; set; }

Property Value

string

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()