Someone asks in MSDN WPF forum on how to implement custom dropdown menu, since recently I am tied up writing my own custom SplitButton control, and I've used some of the features MenuItem provides, I think my code can really demonstrate how to reuse MenuItems outside of Menu context, so I upload the source code to my web blog, here comes the screenshot of my custom SplitButton control:

You can download the source from here.


Anonymous said...

this is a very nice example.