Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2940
Persistance in xamribbon
posted

hi... in my project i am using xamribbon and i have placed around 30 buttons.When i right click on each button it is displaying context menu as "Add to Quick Access toolbar".Button will appear at the top the ribbon but if i close and open my project the button will disappear. How can i make persistence that i should remain at the top the ribbon.Plz help me in sending a sample application.

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically when the Window is closing I create a xml file where I save information about the items in the QAT (Type and Id) and on Initializing of the Window I retrieve that information and add items in the QAT. You should set the Id Property of each tool that you will add to the QAT, because this is part of the information stored in the xml file. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    RibbonQATpersistence.zip
Reply Children