Browse Source

Reformat AffectRender's parameters

pull/9631/head
SKProCH 3 years ago
parent
commit
3b8a2a9be2
  1. 11
      src/Avalonia.Controls/Presenters/TextPresenter.cs

11
src/Avalonia.Controls/Presenters/TextPresenter.cs

@ -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()

Loading…
Cancel
Save