Search code examples
c#wpfxamlrouted-commands

How do I programmatically fire a command


I have an ICommand that I want to fire (make the execute go) from code; how do I do this?


Solution

  • Try calling the Execute method.