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.
not in debug mode. Xml is generating but problem is if i had 3 buttons in quick access toolbar.if i remove one button and close by application.if i open again no buttons are available in QAT (2 buttons should available right?).All buttons are disappearing.
Hello,
Could you pelase verify that you are closing the Window, not stop Debbuging mode, because in the Closing event handler of the Window the method that creates the xml fle is called.
Hi thanks for replying.. it works fine but if i add two or more items to quick access tool bar and remove one and close and open all items are removed.persistance is not happening after removing one item. plz solve this.
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.