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
eventArgs
TEventThe combination of
TEvent
bound to the command to be replaced.newCommands
Command[]The set of commands to replace the old ones with.
Remarks
If the of TEvent
is not already bound, it will be added.