HighlightingTextBlock
Ecng.Xaml
A specialized highlighting text block control. http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/
Hereda de: TextBlock
Implementa: IComponentConnector
Constructores
HighlightingTextBlock()
Initializes a new HighlightingTextBlock class.
Propiedades
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.
Métodos
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.
Campos
HighlightBrushProperty : DependencyProperty
Identifies the HighlightBrush dependency property.
HighlightFontWeightProperty : DependencyProperty
Identifies the HighlightFontWeight dependency property.
HighlightTextProperty : DependencyProperty
Identifies the HighlightText dependency property.