There are several ways to achieve the desired functionality. The first option is to use RadComboBox
and set its ItemsSource to use your collection. The other option is to use RadListBox
and to set the Height property of the listBox (and ScrollViewer.VerticalScrollBarVisibility to Auto). Next option is to use our new functionality which is included in our Beta release (you can download it under your account, the official release is planned for the next week) - we have implemented new menu item types - RadMenuGroupItem
could help you to achieve the desired functionality. You can put the Listbox directly in RadMenuGroupItem and use our EventToCommandBehavior to close the Menu when a user selects an item in the listbox. You may also use RadDropDownButton
and put RadContextMenu
as DropDownContent - we've improved the integration between these two controls. The next option is to set the ItemsSource of RadContextMenu
to your collection and set Height property of the menu - this will limit the popup and a scroll functionality will be added (this is available with our Beta release). To show the scrolling buttons of a submenu items, you have to set DropDownHeight property of the parent MenuItem.
All of these features are included in the attached project. You can check it and choose the most suitable solution for your case. Feel free to contact us if you have any problems or concerns.