On the TabView control, try setting the HorizontalAlignment, VerticalAlignment, HorizontalContentAlignment and VerticalContentAlignment to "Stretch". Without that, I too was getting blank content in my tabs instead of showing my WebView2 control content. This indeed fixed it. Otherwise the height of the tab is set to zero (width seemed to be fine however).
winui3 not showing content of page that renders in tabviewitem
jarno beerten
61
Reputation points
When i have .net5
winui3
tabview
that renders a page when adding the view but not is showing in the tabview
Accepted answer
1 additional answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more