Determines whether the specified key is released.
static member IsKeyUp :
key:Key -> bool
The key to check.
The GetKeyStates method can be used to determine the set of states of a specific key.
The following example shows how to use the IsKeyUp method to determine the state of a specific key. The Return key is passed to the IsKeyUp method. If the method returns true, then the background of a Button is changed.