I have a requirement to show a list of items in a context menu. In addition to this, I need to show the frequently used items (configurable by user) on the top, followed by a separator, and then the standard list of all the items. I know, I can add all the items to context menu at runtime but I want to explore different options too. The question is - is it possible to:
- Bind the standard list in xaml and then add the frequently used items at runtime. OR
- Bind the context menu to two separate list OR
- Any other better option
Please note that I need to maintain two separate lists due to some technical reasons. I am not showing any existing code because this question may be considered as a generic question and may apply to any control.