In my WPF application, I want to customize the content(or list of actions) of RadRibbonDropDownButton just at the end of QuickAcesstoolbar. If I use a simple RadRibbonView class for my Ribbon control and use DropDownOpened event to capture the event and write my code there, it is working fine. Everytime I click on the RadRibbonDropDownButton icon, the event is triggered and everything is perfect.
But the problem arises as I am using a class CustomRibbonView : RadRibbonView [CustomRibbonView is derived from RadRibbonView]. I HAVE NOT written any specific code for Quick Aceess Toolbar in this class [Am I missing a trick here?]. Now in the MainWindow.xaml.cs file in RibbonBar.Load event I have suscribed to DropDownOpened event. Please refer below:-
Now when the application is loaded for first time and I click on the RadRibbonDropDownButton icon in QAToolBar, ther suscribed event is fired and everything is fine. If I click on the first item i.e. "Show Below The Ribbon" and the toolbar goes below the ribbon as expected. But now if I click on the RadRibbonDropDownButton icon again, the event DropDownOpened is not fired and it is not fired anytime after.
Could not figure it out.
But the problem arises as I am using a class CustomRibbonView : RadRibbonView [CustomRibbonView is derived from RadRibbonView]. I HAVE NOT written any specific code for Quick Aceess Toolbar in this class [Am I missing a trick here?]. Now in the MainWindow.xaml.cs file in RibbonBar.Load event I have suscribed to DropDownOpened event. Please refer below:-
Now when the application is loaded for first time and I click on the RadRibbonDropDownButton icon in QAToolBar, ther suscribed event is fired and everything is fine. If I click on the first item i.e. "Show Below The Ribbon" and the toolbar goes below the ribbon as expected. But now if I click on the RadRibbonDropDownButton icon again, the event DropDownOpened is not fired and it is not fired anytime after.
Could not figure it out.