I've never done any work in wpf before and i'm supposed to add an undo button. I want it to look like what the undo button in VS looks like (click to undo once, hover over to get the more in depth listbox). I managed to get whats in the picture. It is inside a menuitem and i can't figure out how to just make it a white box without any borders or anything. Please Help! Here's code:
<MenuItem Header="Edit" Width="50" HorizontalContentAlignment="Center" >
<MenuItem x:Name="MenuCopy" Header="Copy to Excel" >
<MenuItem.Icon>
<Image Source="copy.ico" Width="24" Height="24" />
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="MenuUndo" Header="Undo Last Action" IsEnabled="true">
<MenuItem.Icon>
<Image Source="Undo.png" Width="24" Height="24" />
</MenuItem.Icon>
<ListBox>
<ListBoxItem Name="Item" Height="10" Width="100">
</ListBoxItem>
</ListBox>
</MenuItem>
