I have a RadMenu in my application where I would like to have the ItemsSource property "partially bound" to some data object and have a few extra items thrown on top. The important part here is to use binding somehow so that when the list changes, the partially bound part of the menu changes.
My eventual goal would be to have a list of static menu items (New, Open), a separator, and then a bound list of dynamic items (a list of recently used files) like the following... As users are navigating to files, the list of recently used files would be changing and I would like that to be updated via binding...
File (TopLevel)
-New
-Open
---separator---
-RecentFile1
-RecentFile2
-RecentFile3
...
Is there a way to do this neatly?
My eventual goal would be to have a list of static menu items (New, Open), a separator, and then a bound list of dynamic items (a list of recently used files) like the following... As users are navigating to files, the list of recently used files would be changing and I would like that to be updated via binding...
File (TopLevel)
-New
-Open
---separator---
-RecentFile1
-RecentFile2
-RecentFile3
...
Is there a way to do this neatly?