소스 검색

fix: Address review

workgroupengineering 2 년 전
부모
커밋
a4fed25912
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      src/Avalonia.Controls/MaskedTextBox.cs

+ 0 - 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), '_');