Ctrl Property (KeyboardEventArgs)

Gets a value specifying whether the control (CTRL) key was down when the event occurred.

This property cannot be used in XAML.
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.


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.

Applies To


See Also

Silverlight Keyboard Support
Silverlight Events