<Menu ... <MenuItem ... <MenuItem ... <Separator /> <MenuItem> </MenuItem> </Menu>In C# use:
using System.Windows.Controls; Menu menu = new Menu(); ... menu.Items.Add(new Separator());
Comments, how-to's, examples, tools, techniques and other material regarding .NET and related technologies.
<Menu ... <MenuItem ... <MenuItem ... <Separator /> <MenuItem> </MenuItem> </Menu>In C# use:
using System.Windows.Controls; Menu menu = new Menu(); ... menu.Items.Add(new Separator());
2 comments:
Thanks--this is exactly what I was looking for!
I don't believe this is supported in Silverlight. WPF only.
Post a Comment
All comments, questions and other feedback is much appreciated. Thank you!