Method IsKeyDown
IsKeyDown(KeyStates)
Returns whether or not the specified key state is down.
public static bool IsKeyDown(KeyStates keyStates)
Parameters
keyStates
KeyStates
Returns
IsKeyDown(Key)
Returns whether or not the specified key is down.
public static bool IsKeyDown(Key key)
Parameters
key
Key