我的WPF密码框在输入特殊字符(*&^#$%)时会发出叮ding的声音。我不知道为什么会发生这种情况。这是代码。
<PasswordBox Grid.Row="2" Name="Password" Password="******" Margin="0,7,0,0" Padding="3,0,0,0" Foreground="Gray" VerticalContentAlignment="Center" Height="29" Width="230" HorizontalAlignment="Center" OpacityMask="LightGray" VerticalAlignment="Center" FontWeight="UltraLight" GotKeyboardFocus="OnPasswordBoxGotFocus" LostKeyboardFocus="OnPasswordBoxLoastFocus" >