You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stmoy It looks like this is not working because TabItems is not the content property for TabView. We can either update the sample or make it as the content property.
Describe the bug
If you try and add a
TabViewItem
as the content of aTabView
as in this docs example you get an error:(I feel like this may be a regression as the docs were probably valid at one point.)
In WinUI 2.3, you need to instead encase the TabViewItems in a special
<muxc:TabView.TabItems>
property.Steps to reproduce the bug
Steps to reproduce the behavior:
Note: the Icon property from the example was also removed, as modified the above.
Expected behavior
Should display tabs without needing to wrap in TabItems property:
Version Info
WinUI 2.3.191129002
Additional context
Reference #1332
The text was updated successfully, but these errors were encountered: