Browse Source

Update TextBox.cs

pull/8318/head
ahmedmohammedfawzy 4 years ago
parent
commit
0868442ec9
  1. 2
      src/Avalonia.Controls/TextBox.cs

2
src/Avalonia.Controls/TextBox.cs

@ -55,7 +55,7 @@ namespace Avalonia.Controls
AvaloniaProperty.Register<TextBox, char>(nameof(PasswordChar)); AvaloniaProperty.Register<TextBox, char>(nameof(PasswordChar));
public static readonly StyledProperty<bool> IgnoreChangesWhileEditingProperty = public static readonly StyledProperty<bool> IgnoreChangesWhileEditingProperty =
AvaloniaProperty.Register<TextBox, bool>(nameof(IgnoreChangesWhileEditing)); AvaloniaProperty.Register<TextBox, bool>(nameof(IgnoreChangesWhileEditing), true);
public static readonly StyledProperty<IBrush?> SelectionBrushProperty = public static readonly StyledProperty<IBrush?> SelectionBrushProperty =
AvaloniaProperty.Register<TextBox, IBrush?>(nameof(SelectionBrush)); AvaloniaProperty.Register<TextBox, IBrush?>(nameof(SelectionBrush));

Loading…
Cancel
Save