63
在XAML中,如何在菜单中放置标准分隔线?在WPF中的菜单中放置一个分隔线
如
<MenuItem Header="_File" Name="m_fileMenu">
<MenuItem Header="_Open" Command="ApplicationCommands.Open"/>
<!-- Trying to put a divider here! -->
<MenuItem Header="-" /> <!-- Wrong guess -->
<MenuItem Header="E_xit" Command="ApplicationCommands.Close" />
</MenuItem>
:)................ – 2015-12-29 18:25:38