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
1690
WPF Ribbon and PersistenceFramework
posted

Hello,

i want to use the Persistence Framework inorder to persist the IsMinimized Property , the QAT Position and the QAT Items.

It seems to be a bug when the buttons are bound on Commands. - I have tested it with event handlers and works as expected

I use the following PersistenceSettings (only for the IsMinimized Property)

<ig:PersistenceManager.Settings>                    

<ig:PersistenceSettings SavePersistenceOptions="OnlySpecified" LoadPersistenceOptions="OnlySpecified"> <ig:PersistenceSettings.PropertySettings> 

<ig:PropertyNamePersistenceInfo Options="PropertyName" PropertyName="IsMinimized"/>                            

</ig:PersistenceSettings>                

</ig:PersistenceManager.Settings>

and when i load it back, i get a KeyNotFoundException

Regards,

Michael

Parents
  • 28407
    posted

    HI,

     I was unable to reproduce this issue.

     I am attaching a XamRibbon Application that persists the IsMinimized property.

     I am using build 11.2.2207.

     Please test the sample application on your machine and feel free to modify it so that it replicates your issue.

     Sincerely,l
     Matt
     Developer Support Engineer

    WpfApplication36.zip
Reply Children