WPF_button 接受回车事件
时间:2015-07-04 13:53:46
收藏:0
阅读:8881
我们可以在XAML中添加一条isdefalut属性为ture即可实现
<Button x:Name="btn_login" Content="登陆" HorizontalAlignment="Left" Margin="115,0,0,35" Grid.Row="1" VerticalAlignment="Bottom" Width="75" Background="#FFB46868" Click="btn_login_Click" IsDefault="True"/>
原文:http://www.cnblogs.com/linbinqiang/p/4620508.html
评论(0)