I observed a strange behaviour when a middle tab is removed on runtime. In that case, it seems like the header view does not adjust automatically. I created a tab view with 5 tabs and tried to remove tab 4 (index 3).
Method 1:tabView.RemoveTab(3);
In this case, both the tab and the content is removed however the header strip is not adjusted and there is space left where the tab was removed.
Method 2:tabView.ItemSource.Remove(tabView.ItemSource[3]);
In this case, the tab content is removed however the header still exists. However when the header is clicked, last tab content is shown.
I observed a strange behaviour when a middle tab is removed on runtime. In that case, it seems like the header view does not adjust automatically. I created a tab view with 5 tabs and tried to remove tab 4 (index 3).
Method 1:
tabView.RemoveTab(3);
In this case, both the tab and the content is removed however the header strip is not adjusted and there is space left where the tab was removed.Method 2:
tabView.ItemSource.Remove(tabView.ItemSource[3]);
In this case, the tab content is removed however the header still exists. However when the header is clicked, last tab content is shown.Great stuff otherwise. Thank you.