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
635
Adding or deleting a column in a xamgrid using persistence
posted

Hello,

In attached sample I use XamGridPersistenceBehavior which saves some properties of xamgrid: (Width,Visibility). The Behavior woks fine but when I add or remove a new column in xamgrid there is a display problem==> the xagrid is empty.

Regards

PersistenceXamGrid.zip
Parents
No Data
Reply
  • 138253
    Suggested Answer
    Offline posted

    Hello Anis,

    Thank you for your post. I have been looking into the code you have provided and I can suggest you add the XamGrid's ItemsSource to the PersistenceSettings' PropertySettings collection. Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.

Children