[]
Returns whether the Ctrl key is pressed.
public static bool IsCtrlPressed(UIKeyCommand keyEvent)
Public Shared Function IsCtrlPressed(keyEvent As UIKeyCommand) As Boolean
| Type | Name | Description |
|---|---|---|
| UIKeyCommand | keyEvent | Data from keyboard routed events, as well as related attached and Preview events. |
| Type | Description |
|---|---|
| bool | true if the Ctrl key is pressed, false otherwise. |