Method ReplaceCommands
ReplaceCommands(TEvent, params Command[])
Replaces the commands already bound to a combination of TEvent.
public void ReplaceCommands(TEvent eventArgs, params Command[] newCommands)
Parameters
eventArgsTEventThe combination of
TEventbound to the command to be replaced.newCommandsCommand[]The set of commands to replace the old ones with.
Remarks
If the of TEvent is not already bound, it will be added.