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
444
XamTabControl - TabItemEx selection unloads control
posted

Hi

I have a XamTabControl with some TabItemEx items, each TabItemEx has a single different User control on it.

When I select a Tab it creates the User control, the Issue is when I select another a different Tab is it unloads the last User Control.

The real problem is that creating the user control is very expensive so I would like my User Control to remain created once it has be visuallised.

I did read that setting a Name will keep it active (I think this was Dock TabPages), I have set a name but no change.

I commented out all of the code in the User Control (it was a Grid and some heavy graphics) and no change.

Any suggestions ?

thanks

Martin

 

 

Parents Reply Children
No Data