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
1490
xamzoombar back to the initial position when shift between tabItems
posted

Situation: 

In my WPF application, I have one tabControl including two tabItems, all the two tabitems are using xamzoombar, I move the xamzoombar position to some position, when I shift between the two tabItems, I found that the xamzoombar position was back to the initial position.   I just want the xamzoombar be the position I moved, not the initial position. 

Do I make myself clear?    Thanks in advance.

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Charlie,

     

    Thank you for your post. I have been looking into it and I can say that this behavior is expected, because when you shift between tabs the elements are unloaded and loaded and this is why the XamZoombar goes back to its initial position. I can suggest you define global variables and save the zoombar’s position. Also you can handle its Loaded event and set its position manually.

     

    Hope this helps you.

Children