[]
Returns whether the Alt key is pressed.
public static bool IsAltPressed(UIKeyCommand keyEvent)
Public Shared Function IsAltPressed(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 Alt key is pressed, false otherwise. |