DropDownOpen event in QuickAceessToolBar

2 posts, 0 answers
  1. Subhasis
    Subhasis avatar
    5 posts
    Member since:
    Mar 2017

    Posted 16 Mar Link to this post

    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.
  2. Tanya
    Admin
    Tanya avatar
    577 posts

    Posted 20 Mar Link to this post

    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 allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top