Reputation: 1267
Is there a good way to achieve similar dynamic tab in XAML like in Edge browser where tabs are added dynamically? I know that the Pivot
can be used for static tabs. More specifically, I need a solution that accounts for situation when there are too many tabs.
Upvotes: 1
Views: 804
Reputation: 505
The Windows Community Toolkit now offer support of this control:
The documentation for this new controls is located here: https://learn.microsoft.com/en-us/dotnet/api/microsoft.toolkit.uwp.ui.controls.tabview?view=win-comm-toolkit-dotnet-stable
And some code samples are located here: https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TabView
Upvotes: 1
Reputation: 98
An Hoa,
Follow these,
Second row definition is to create a empty layout.
Upvotes: 2