We are looking for a way to manually resize the submenu for items that have a very large collection of menu items. Sometimes, these lists are long enough that the submenu ends up taking up the entirety of the vertical space on screen, including the taskbar. We'd like to limit the height of the submenus to the size of the current workspace, effectively allowing the panel to scroll more through the content and display less at a time.
A solution in xaml is not sufficient, as these submenus are dynamically populated in code. We already have code set up to determine what we'd like to set the height of the submenu's panel to, but despite trying many ways of getting ahold of the correct components in code, we have been unable to successfully modify the submenu panel's height.
Anybody know of a good solution for this?
A solution in xaml is not sufficient, as these submenus are dynamically populated in code. We already have code set up to determine what we'd like to set the height of the submenu's panel to, but despite trying many ways of getting ahold of the correct components in code, we have been unable to successfully modify the submenu panel's height.
Anybody know of a good solution for this?