KeyboardWatcherAddCallback Method (ActionKeyStateChangedArgs)DW.WPFToolkit Documentation
Registers a callback which got called no matter which keys were pressed or released.

Namespace: DW.WPFToolkit.Helpers
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public KeyboardWatchToken AddCallback(
	Action<KeyStateChangedArgs> callback
)

Parameters

callback
Type: SystemActionKeyStateChangedArgs
The callback to be called.

Return Value

Type: KeyboardWatchToken
A token which represends the current callback to be used for RemoveCallback(KeyboardWatchToken).
See Also

Reference