Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Dynamic Menus and context menus

$
0
0

I have a WPF application. In it I have multiple object types. I want to provide a consistent feel to the end user with my menus and context menus. For example. one of my object is a "Group" in it I have multiple commands that can be called. Sometimes my "Group" appears in a list. Sometimes in a drop down and sometimes you get the details of the "Group" I want the menus to accurately reflect the same commands no matter how the item is being displayed. I can do this now with relay commands but it requires me to have a huge menu with all the possible options and just hide the ones I don't want. There must be an easier way to do this. 


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>