csharp System.Windows.Input.KeyEventArgs.Key类(方法)实例源码

下面列出了csharp System.Windows.Input.KeyEventArgs.Key 类(方法)源码代码实例,从而了解它的用法。

作者:.NET开发    项目:System.Windows.Inpu   
private void OnKeyDownHandler(object sender, KeyEventArgs e)
{
    if (e.Key == Key.Return)
    {
        textBlock1.Text = "You Entered: " + textBox1.Text;
    }
}


问题


面经


文章

微信
公众号

扫码关注公众号