Is there a multi-level drop-down menu?

Ribbon for WPF Forum

Posted 2 years ago by Sunshine - Appeon
Version: 22.1.2
Avatar

I need to design a dropdown box whose items have children. And I want the current item to be automatically selected when I click the drop-down.

I tried Combox and ContextMenu separately. Which Combox doesn't seem to support multi-level menus. ContextMenu does not support selecting the current item.

Can you guide me what should I do?thank you very much!

Comments (1)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I don't believe there are any controls that support multi-level display on a popup, at least out of the box.  

I know the native WPF ComboBox supports grouping features, such as what is described in this StackOverflow article.

Or if you're using context menus, you could probably handle an opening event (before it shows) and run through to set the IsChecked state of all menu items in the hierarchy so that only the one representing the checked item is checked.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.