WPF MenuItem : Mix databound items and static content
问题 I'd like to build an MRU menu that has the following structure: File +=>Recent Files +=> Doc1.txt +=> Doc2.txt -separator- +=> Clear entries This being MVVM, my mru list is databound to the View Model. Because I want to add the separator, and I don't fancy inserting the separator and the clear entry action in the list of items, I'm currently using an itemscontrol container for my menu, but I've got horrible padding issues. Do you have any solution that would allow me to just add MenuItem