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
155
Navigation buttons disappear
posted

I have a xamTabControl with 5 tabs. On the 4th tab I have a xamCarouselPanel. When I run the app and click on the 4th tab for the 1st time, I see the navigation buttons and they function as expected. If I go to a different tab, then back to the tab with the xamCarouselPanel, the navigation buttons are gone. How do I fix this?

  • 54937
    Verified Answer
    Offline posted

    The navigation buttons are placed into the adorner layer. When you switch tabs in a tab control the elements from the previously selected tab are unloaded and so the adorner elements are released by the wpf framework. You can avoid this by putting the xamCarouselPanel into an AdornerDecorator so that the adorner is always present.