In WPF, you can make a button as follows:
<Button Name="Foo" Content="_Foo" />
The underscore before the 'F' associates the F
key with the Foo
button (and adds an underline under the 'F' in 'Foo').
However, in a toolbar:
<ToolBar>
<Button Name="Foo" Content="_Foo" />
</ToolBar>
This just creates a button with the text '_Foo' and no hotkey is associated with it.
Is there any built-in way to create a hotkey for a toolbar button?