[]
Returns whether the Alt key is pressed.
public static bool IsAltPressed(KeyEventArgs keyEvent)
Type | Name | Description |
---|---|---|
KeyEventArgs | 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. |