3
I am trying to put a shortcut on my system menu in WPF. In Windows form, just change the text property by putting the "&" before, but in WPF does not use "text" but "content"
Somebody help me?
<Menu HorizontalAlignment="Left" Height="31" VerticalAlignment="Top" Width="80">
<MenuItem Header="Cadastro" Height="31" Width="70" Name="ItemCadastro">
<MenuItem Header="Empresa" HorizontalAlignment="Left" Width="150" Click="MenuItem_Click"/>
</MenuItem>
</Menu>
tried to make the same change you would in . text, but no . content?
– Marciano.Andrade
Yes, but of error! =/
– Emerson Moraes
put your menu code here, the xaml. The more complete your question the easier it is for us to help you
– Marciano.Andrade
Editei la @Marciano.Andrade
– Emerson Moraes