I have created a TabView and for each icon I am trying to insert as content the pages I created previously. I can't insert them inside the TabViewItem, visualStudio reports me as an error.
My pages are inside the 'Pagine' folder in Visual Studio
<xct:TabViewItem
TabWidth="{Binding TabWidth}"
Text="Home"
FontFamily="MyIcon"
ControlTemplate="{StaticResource TabItemTemplate}">
<xct:TabViewItem.Icon>
<FontImageSource Color="Gray" FontFamily="MyIcon" Glyph="{x:Static dayr:FontIconClass.Home}"/>
</xct:TabViewItem.Icon>
<xct:TabViewItem.IconSelected>
<FontImageSource Color="Black" FontFamily="MyIcon" Glyph="{x:Static dayr:FontIconClass.Home}"/>
</xct:TabViewItem.IconSelected>
//ERROR
<Myapp:MainPage></Myapp:MainPage>
</xct:TabViewItem>
The error is:
Property 'Content' does not support values of type 'MainPage'

