If you're declaring MenuItem
s, I've always seen their Header
properties declared like this:
<MenuItem Header="_Edit">
<MenuItem Header="_Undo"/>
<MenuItem Header="_Redo"/>
</MenuItem>
instead of like this:
<MenuItem Header="Edit">
<MenuItem Header="Undo"/>
<MenuItem Header="Redo"/>
</MenuItem>
Is there a reason for this or is it just a convention? In the designer it seems to affect nothing whether I have the underscore behind or not.