What is the correct/best way to create a menu with hotkey shortcuts?
I simply want a File menu like Visual Studio's that has New, Open, Save, Save All, Exit, and a few other standard shortcuts.
It seems that InputGestureText displays the appropriate text, but since it's called "Text" and doesn't seem to trigger events, I'm going to assume that isn't the right way to do it. The Command architecture also seems fairly bulky, so I don't want to head down that path if there is a better way.
Update: For clarity, let's say I'm using the following menu:
<Menu>
<MenuItem Header="_File">
<MenuItem Header="_New" />
<MenuItem Header="_Open" />
<Separator />
<MenuItem Header="_Save" />
<MenuItem Header="Save _All" />
<Separator />
<MenuItem Header="_Export"/>
<MenuItem Header="_Import"/>
<Separator />
<MenuItem Header="E_xit"/>
</MenuItem>
</Menu>
where Export and Import would be custom shortcuts; something that Microsoft didn't build into something like ApplicationCommands. Can you please provide a complete solution, including C# custom code if necessary? (Not only will it help me out, but I hope to help anyone else out who is searching for similar issues.)