KeyboardWatcher MethodsDW.WPFToolkit Documentation

The KeyboardWatcher type exposes the following members.

Methods

  NameDescription
Public methodAddCallback(ActionKeyStateChangedArgs)
Registers a callback which got called no matter which keys were pressed or released.
Public methodAddCallback(IEnumerableKey, ActionKeyStateChangedArgs)
Registers a callback which got called if one of the given key changed their state.
Public methodAddCallback(Key, ActionKeyStateChangedArgs)
Registers a callback which got called if the specific key changed its state.
Public methodAddCallback(KeyState, ActionKeyStateChangedArgs)
Registers a callback which got called no matter which keys came into the specific state.
Public methodAddCallback(IEnumerableKeyState, ActionKeyStateChangedArgs)
Registers a callback which got called no matter which keys came into the specific states.
Public methodAddCallback(IEnumerableKey, KeyState, ActionKeyStateChangedArgs)
Registers a callback which got called if one of the given keys changed their state to the specific one.
Public methodAddCallback(IEnumerableKey, IEnumerableKeyState, ActionKeyStateChangedArgs)
Registers a callback which got called if one of the given keys changed their state to one of the given states.
Public methodAddCallback(Key, KeyState, ActionKeyStateChangedArgs)
Registers a callback which got called if the specific key changed its state to the given one.
Public methodAddCallback(Key, IEnumerableKeyState, ActionKeyStateChangedArgs)
Registers a callback which got called if the specific key changed its state to one of the given states.
Public methodBeginWatch
Begin watching for system wide keyboard events.
Public methodClearCallbacks
Removes all known callbacks.
Public methodDispose
Public methodRemoveCallback
Removes a registered callbacks by the token.
Public methodStopWatch
Stop watching for system wide keyboard events.
Top
See Also

Reference