I have a SplitButton where the drop down menu is created or updated dynamically in the SplitButton.DropDownOpened event. This works fine.
I also add that SplitButton to the QuickAccess menu, so the code looks something like this:
SplitButton sb = new SplitButton();
sb.DropDownOpened += (s, e) => _CreateOrUpdateDropDown(sb);
Target = sb,
The problem is now when the user opens the dropdown menu of the QuickAccess item, that event is not fired and as a result the menu is not up to date. How can I avoid this?