Browse Source

fix: Address review

pull/10477/head
workgroupengineering 4 years ago
committed by GitHub
parent
commit
a4fed25912
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Avalonia.Controls/MaskedTextBox.cs

5
src/Avalonia.Controls/MaskedTextBox.cs

@ -31,11 +31,6 @@ namespace Avalonia.Controls
public static readonly StyledProperty<string?> MaskProperty =
AvaloniaProperty.Register<MaskedTextBox, string?>(nameof(Mask), string.Empty);
public static new readonly StyledProperty<char> PasswordCharProperty =
#pragma warning disable AVP1013 // AvaloniaProperty owners should not be added superfluously
TextBox.PasswordCharProperty.AddOwner<MaskedTextBox>();
#pragma warning restore AVP1013 // AvaloniaProperty owners should not be added superfluously
public static readonly StyledProperty<char> PromptCharProperty =
AvaloniaProperty.Register<MaskedTextBox, char>(nameof(PromptChar), '_');

Loading…
Cancel
Save