How do I programmatically fire a command

c#, routed-commands, wpf, xaml

Solution

Try calling the `Execute` method.

Problem

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

Original source