Closed MohammedDastagir closed 1 month ago
Normally TabView supports binding items like
<m:TabView ItemsSource="{Binding MyItems}" />
<!-- or -->
<m:TabView Items="{Binding MyTabItems}" />
When you add or remove items from collection, it automatically affects to TabView.
But still, you can remove them manually from C# code. Try the following way:
tabView.Items.Remove(tabView.Items[0]);
@enisn Thanks for your response. Your solution worked like a charm.
I'm using Uranium tabsview control and I have a feature to remove tab at runtime based on a condition. I tried below code
In my xaml :
and in my xaml.cs:
I found only above two methods but it's not working. Is there any solution to this.
Any help is appreciated, thanks!