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
340
How to save QAT State
posted

Hi,

I'd like to save 'shortcuts' added by users in the Quick Access Toolbar between sessions, in order to reload it on startup.

I found many examples for Windows forms, but mentioned methods (Ribbon.savesettingstostream, ribbon.savetoXML) seems not to be implemented in WPF.

Does anybody know how to do?

thanks

Parents
No Data
Reply
  • 30945
    Offline posted

    Hello Lionel,

    If the Id property of a tool is not set initially it is set to “(ID)” followed by a random generated number. Every time when you start your application the ids of the tools will be different and it will throw the exception that you are getting.

    The idea of my sample application was to set initially the ids of the tools. If you set the ids initially in the XAML code you can prevent this exception of being thrown.

    Please let me know if you require any further assistance on the matter.

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

Children