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

Highlight Active Menu

$
0
0

Hi, 
I am begginner  in C# WPF application, in my application there are 8 categories. 
So I use the WPF Menu control with drop down menus (Menuitems). 
I would like to keep Menu Highlighted until click on another menu...

Keep the menu avtive or highlighted. 

As example if I click Menu1 or subMenu1, I would like Menu1 keeps a blue background, whatever I do on the window, the background color of Menu1 should only change when I click on another menu (eg .. Menu 2).

The objective is to show the user which menu is running. 

I can do that with buttons but it does not respond exactly to what I want. 
the tabcontrols do not respond either. 
Can you help me please with Menu controls?

Thank in advance


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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