Registers a callback which got called if one of the given keys changed their state to the specific one.
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 22.214.171.124
public KeyboardWatchToken AddCallback( IEnumerable<Key> keys, KeyState state, Action<KeyStateChangedArgs> callback )
- Type: System.Collections.GenericIEnumerableKey
The keys which has to be watched for.
- Type: DW.WPFToolkit.HelpersKeyState
The key state which has to be watched for.
- Type: SystemActionKeyStateChangedArgs
The callback to be called.
Return ValueType: KeyboardWatchToken
A token which represends the current callback to be used for RemoveCallback(KeyboardWatchToken).