|
|
|
@ -110,8 +110,15 @@ namespace Avalonia.Controls.Presenters |
|
|
|
|
|
|
|
static TextPresenter() |
|
|
|
{ |
|
|
|
AffectsRender<TextPresenter>(CaretBrushProperty, SelectionBrushProperty, |
|
|
|
TextElement.FontFamilyProperty, TextElement.FontSizeProperty, TextElement.FontStyleProperty, TextElement.FontWeightProperty, TextElement.FontStretchProperty, TextElement.ForegroundProperty); |
|
|
|
AffectsRender<TextPresenter>( |
|
|
|
CaretBrushProperty, |
|
|
|
SelectionBrushProperty, |
|
|
|
TextElement.FontFamilyProperty, |
|
|
|
TextElement.FontSizeProperty, |
|
|
|
TextElement.FontStyleProperty, |
|
|
|
TextElement.FontWeightProperty, |
|
|
|
TextElement.FontStretchProperty, |
|
|
|
TextElement.ForegroundProperty); |
|
|
|
} |
|
|
|
|
|
|
|
public TextPresenter() |
|
|
|
|