HighlightingTextBlock
Ecng.Xaml
A specialized highlighting text block control. http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/
継承元: TextBlock
コンストラクター
HighlightingTextBlock()
Initializes a new HighlightingTextBlock class.
プロパティ
HighlightBrush : Brush
Gets or sets the highlight brush.
HighlightFontWeight : FontWeight
Gets or sets the font weight used on highlighted text.
HighlightText : string
Gets or sets the highlighted text.
メソッド
ApplyHighlighting()
Apply the visual highlighting.
InitializeComponent()
InitializeComponent
OnHighlightBrushPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
HighlightBrushProperty property changed handler.
- d
- HighlightingTextBlock that changed its HighlightBrush.
- e
- Event arguments.
OnHighlightFontWeightPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
HighlightFontWeightProperty property changed handler.
- d
- HighlightingTextBlock that changed its HighlightFontWeight.
- e
- Event arguments.
OnHighlightTextPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
HighlightText property changed handler.
- d
- AutoCompleteBox that changed its HighlightText.
- e
- Event arguments.
フィールド
HighlightBrushProperty : DependencyProperty
Identifies the HighlightBrush dependency property.
HighlightFontWeightProperty : DependencyProperty
Identifies the HighlightFontWeight dependency property.
HighlightTextProperty : DependencyProperty
Identifies the HighlightText dependency property.