Ctrl Property (KeyboardEventArgs)
Gets a value specifying whether the control (CTRL) key was down when the event occurred.
XAML |
This property cannot be used in XAML.
|
Scripting |
value = eventargs.Ctrl
|
Property Value
true if the CTRL key was down when the event occurred; otherwise, false.
This property is read/write, but should be considered read-only because there is no reason to change the reported information. There is no default.
Remarks
Use this property to detect key combinations involving the CTRL key that are otherwise interpreted as commands or gestures in other application programming models.
Note: This property corresponds to the "Control" key on the Macintosh.