Is it possible to access the following formatted menu item like any other standard menu item (using the underscore-method, e.g. "_File" would be accessible by pressing "f")? I would like to use "O" as "access key" here.
Unfortunately, <AccessText>
does not seem to be usable directly (I imaginged something like
<AccessText Visibility="Collapsed">_O2-Genion</AccessText>
in a <StackPanel>
, but alas, this did not work out.)
<MenuItem>
<MenuItem.Header>
<TextBlock>
O
<Span BaselineAlignment="Subscript">
<TextBlock Margin="-3,0,0,0" FontSize="8">
2
</TextBlock>
</Span>
-Genion
</TextBlock>
</MenuItem.Header>
</MenuItem>
Any suggestions?