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