WPF中,输入完密码回车提交 ,回车触发按钮点击事件

类似与winform中窗体的AcceptButton属性,在wpf中,需要将按钮的IsDefault设置为true就行。

猜你喜欢

转载自www.cnblogs.com/sntetwt/p/9789701.html