Dealing with WPF Menu HeaderStringFormat and Access Keys among other things
问题 Okay. So I want my application to display in its main menu the "Save" and "Save As..." items just like Visual Studio does; i.e. "Save {current file}" and "Save {current file} As..." I would also like to have the normal access keys ("S" and "A", respectively). I've come up with two solutions, but neither is very desirable. Instead of creating the main menu exclusively in xaml, I could create it all in the MainWindowViewModel so I'd have full control over what goes into the generated MenuItems.