作者:.NET开发
项目:System.Windows.Inpu
// e is an instance of KeyEventArgs.
// btnIsDown is a Button.
if (e.IsDown)
{
btnIsDown.Background = Brushes.Red;
}
下面列出了csharp System.Windows.Input.KeyEventArgs.IsDown 类(方法)源码代码实例,从而了解它的用法。
// e is an instance of KeyEventArgs.
// btnIsDown is a Button.
if (e.IsDown)
{
btnIsDown.Background = Brushes.Red;
}