Browse Source

Fix TextPresenter property name registrations

pull/8114/head
Wiesław Šoltés 4 years ago
parent
commit
665b0fa3b6
  1. 6
      src/Avalonia.Controls/Presenters/TextPresenter.cs

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

@ -26,13 +26,13 @@ namespace Avalonia.Controls.Presenters
AvaloniaProperty.Register<TextPresenter, char>(nameof(PasswordChar));
public static readonly StyledProperty<IBrush?> SelectionBrushProperty =
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(SelectionBrushProperty));
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(SelectionBrush));
public static readonly StyledProperty<IBrush?> SelectionForegroundBrushProperty =
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(SelectionForegroundBrushProperty));
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(SelectionForegroundBrush));
public static readonly StyledProperty<IBrush?> CaretBrushProperty =
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(CaretBrushProperty));
AvaloniaProperty.Register<TextPresenter, IBrush?>(nameof(CaretBrush));
public static readonly DirectProperty<TextPresenter, int> SelectionStartProperty =
TextBox.SelectionStartProperty.AddOwner<TextPresenter>(

Loading…
Cancel
Save