-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.TabViewItem |
winrt class |
Represents a single tab within a TabView.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
A TabViewItem contains both the elements within the tab's header as well as the content inside the main content of the tab itself.
TabView, TabViewCloseButtonOverlayMode, Guidelines for TabView
Tip
For more info, design guidance, and code examples, see Tab view.
[!div class="nextstepaction"] Open the WinUI 2 Gallery app and see TabView in action.
The WinUI 2 Gallery app includes interactive examples of most WinUI 2 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.