How can I call an xaml file from a folder in app shell?

483 views Asked by At

I have a folder named jsonarray containing Page3.xaml . I want to show this page calling it from AppShell.xaml. The ordinary method calling in AppShell.xaml is:

<TabBar>
<ShellContent Title="About" Icon="icon_about.png" Route="AboutPage" ContentTemplate="{DataTemplate local:AboutPage}" />
</TabBar>

I tried:

<TabBar>
<ShellContent Title="Page3" Icon="Page3.png" Route="Page3" ContentTemplate="{DataTemplate local:Page3}" />
</TabBar>

but it errors: " Cannot resolve type "Page3".

Any idea how do I call the Page3 from the jsonarray folder?

0

There are 0 answers