HighlightingTextBlock
Ecng.Xaml
Un control de bloques de texto especializado. http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/
Hereda de: TextBlock
Implementa: IComponentConnector
Constructores
HighlightingTextBlock
public HighlightingTextBlock()
highlightingTextBlock = HighlightingTextBlock()
Inicia una nueva clase HighlightingTextBlock.
Propiedades
HighlightBrush
public Brush HighlightBrush { get; set; }
value = highlightingTextBlock.HighlightBrush
highlightingTextBlock.HighlightBrush = value
Obtiene o establece el pincel de relieve.
HighlightFontWeight
public FontWeight HighlightFontWeight { get; set; }
value = highlightingTextBlock.HighlightFontWeight
highlightingTextBlock.HighlightFontWeight = value
Obtiene o establece el peso de la fuente utilizado en el texto resaltado.
HighlightText
public string HighlightText { get; set; }
value = highlightingTextBlock.HighlightText
highlightingTextBlock.HighlightText = value
Obtiene o establece el texto resaltado.
Métodos
ApplyHighlighting
private void ApplyHighlighting()
highlightingTextBlock.ApplyHighlighting()
Aplica el resaltado visual.
InitializeComponent
public void InitializeComponent()
highlightingTextBlock.InitializeComponent()
InitializeComponent
OnHighlightBrushPropertyChanged
private static void OnHighlightBrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
HighlightingTextBlock.OnHighlightBrushPropertyChanged(d, e)
HighlightBrushPropertyalojamiento cambiado de manejador.
- d
- HighlightingTextBlock que cambió su HighlightBrush@.
- e
- Discusiones de eventos.
OnHighlightFontWeightPropertyChanged
private static void OnHighlightFontWeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
HighlightingTextBlock.OnHighlightFontWeightPropertyChanged(d, e)
HighlightFontWeightPropertyalojamiento cambiado de manejador.
- d
- HighlightingTextBlock que cambió su HighlightFontWeight@.
- e
- Discusiones de eventos.
OnHighlightTextPropertyChanged
private static void OnHighlightTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
HighlightingTextBlock.OnHighlightTextPropertyChanged(d, e)
HighlightTextalojamiento cambiado de manejador.
- d
- AutoCompleteBox que cambió su HighlightText@.
- e
- Discusiones de eventos.
Campos
HighlightBrushProperty
public static readonly DependencyProperty HighlightBrushProperty
value = HighlightingTextBlock.HighlightBrushProperty
Identifica la propiedad HighlightBrushdependencia.
HighlightFontWeightProperty
public static readonly DependencyProperty HighlightFontWeightProperty
value = HighlightingTextBlock.HighlightFontWeightProperty
Identifica la propiedad HighlightFontWeightdependencia.
HighlightTextProperty
public static readonly DependencyProperty HighlightTextProperty
value = HighlightingTextBlock.HighlightTextProperty
Identifica la propiedad HighlightTextdependencia.