AppShell is the .NET MAUI class that defines an application's Shell hierarchy and navigation structure. The app assigns an AppShell instance to App.xaml.cs instead of assigning MainPage directly. section 7.5.3
Configure AppShell through XAML:
- Use Shell as the root element and add ShellContent entries for pages. section 7.5.3
- Set Title for navigation and tab labels. section 7.5.3
- Use ContentTemplate with a DataTemplate to load a ContentPage when navigation reaches it. section 7.5.3
Tabbed MauiStockTake shell
A TabBar can expose InputPage and ReportPage as separate tabs. Each Tab contains ShellContent whose DataTemplate points to the corresponding page, allowing the pages to be created and navigated between.
