I have a WPF submenu that I want to reuse in a few places in my XAML. It\'s a collection of eight elements with some complicated bindings that I do
How about something like this:
You'll need to create the following collection in your resource dictionary:
You'll need to add the following namespace:
xmlns:Collections="clr-namespace:System.Collections;assembly=mscorlib"
...
And then just use the collection: