Registers a callback which got called no matter which keys came into the specific states.
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 184.108.40.206
public KeyboardWatchToken AddCallback( IEnumerable<KeyState> states, Action<KeyStateChangedArgs> callback )
- Type: System.Collections.GenericIEnumerableKeyState
The key states 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).