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
455
bringing a picture back with a cancel button
posted

hello,

I'm currently working on a portion of a program where when you click new it clears out the carousel with the xamcarouselviewpanel.children.clear , the part I'm having trouble with is bringing that same picture back if you click cancel. I have tried adding it again but then 2 of the same picture are shown. any ideas?

Thanks in advance,

Joel

Parents
No Data
Reply
  • 9694
    posted

    Hi,

    If you debug the code, does the carouselPanel contain one or two items after the cancel? If it contains two items, then perhaps the code which adds the item back is being called twice.

Children