1 write to KeyData
System.Windows.Forms (1)
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (1)
13
KeyData
= keyData;
7 references to KeyData
System.Windows.Forms (6)
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (6)
22
public bool Alt => (
KeyData
& Keys.Alt) == Keys.Alt;
27
public bool Control => (
KeyData
& Keys.Control) == Keys.Control;
37
Keys keyGenerated =
KeyData
& Keys.KeyCode;
51
public int KeyValue => (int)(
KeyData
& Keys.KeyCode);
58
public Keys Modifiers =>
KeyData
& Keys.Modifiers;
63
public bool Shift => (
KeyData
& Keys.Shift) == Keys.Shift;
System.Windows.Forms.Tests (1)
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (1)
25
Assert.Equal(keyData, e.
KeyData
);