This is a migrated thread and some comments may be shown as answers.

DropDownOpen event in QuickAceessToolBar

1 Answer 52 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Subhasis
Top achievements
Rank 1
Subhasis asked on 16 Mar 2017, 08:35 AM
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.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 20 Mar 2017, 03:33 PM
Hi Subhasis,

I tested a scenario similar to the described one but couldn't reproduce the same behavior - the event is firing each time the dropdown is opened. Could you please share more information on the setup on your end? How is the QuickAccessToolBar declared? Is it possible to share a sample project showing the exact scenario so we can test it?

Regards,
Tanya
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
RibbonView and RibbonWindow
Asked by
Subhasis
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or