I want to remove the PageView of a tab and give the tab a new PageView. Currently I'm doing it like this:
The "AddPageView" Method looks like this:
And finally my PageViewCreated Event:
How it shall work:
The first method is called via an event. The MultiPage should be removed and a new one (basically the same one as before, but freshly initialized from the database) is added to the MultiPage.
What it actually does:
At first I don't see the new Tab where it should be. Instead the content of the next tab is shown, but when I switch to another tab and then switch back, the correct PageView is shown.
Is there any solution for this problem? Am I missing something? Can I maybe tell the TabStrip to reload its PageView?