Add ShellDemo sample with comprehensive XAML controls showcase
Complete ShellDemo application demonstrating all MAUI controls:
- App/AppShell: Shell navigation with flyout menu
- HomePage: Feature cards, theme toggle, quick actions
- ButtonsPage: Button styles, states, variations, event logging
- TextInputPage: Entry, Editor, SearchBar with keyboard shortcuts
- SelectionPage: CheckBox, Switch, Slider with colored variants
- PickersPage: Picker, DatePicker, TimePicker demos
- ListsPage: CollectionView with fruits, colors, contacts
- ProgressPage: ProgressBar, ActivityIndicator, interactive demo
- GridsPage: Grid layouts - auto/star/absolute sizing, spans, nesting
- AboutPage: OpenMaui Linux information
- DetailPage: Push/pop navigation demo
All pages use proper XAML with code-behind following MAUI patterns.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 20:02:24 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<Shell xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
xmlns:pages="clr-namespace:ShellDemo.Pages"
|
|
|
|
|
x:Class="ShellDemo.AppShell"
|
|
|
|
|
Title="OpenMaui Controls Demo"
|
|
|
|
|
FlyoutBehavior="Flyout"
|
|
|
|
|
Shell.BackgroundColor="{StaticResource PrimaryColor}"
|
|
|
|
|
Shell.ForegroundColor="White"
|
|
|
|
|
Shell.TitleColor="White">
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Home" Route="Home">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:HomePage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Buttons" Route="Buttons">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:ButtonsPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Text Input" Route="TextInput">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:TextInputPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Selection" Route="Selection">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:SelectionPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Pickers" Route="Pickers">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:PickersPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Lists" Route="Lists">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:ListsPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Progress" Route="Progress">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:ProgressPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="Grids" Route="Grids">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:GridsPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
2026-01-01 20:05:50 -05:00
|
|
|
<FlyoutItem Title="Dialogs" Route="Dialogs">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:DialogsPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
<FlyoutItem Title="More Controls" Route="MoreControls">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:MoreControlsPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
Add ShellDemo sample with comprehensive XAML controls showcase
Complete ShellDemo application demonstrating all MAUI controls:
- App/AppShell: Shell navigation with flyout menu
- HomePage: Feature cards, theme toggle, quick actions
- ButtonsPage: Button styles, states, variations, event logging
- TextInputPage: Entry, Editor, SearchBar with keyboard shortcuts
- SelectionPage: CheckBox, Switch, Slider with colored variants
- PickersPage: Picker, DatePicker, TimePicker demos
- ListsPage: CollectionView with fruits, colors, contacts
- ProgressPage: ProgressBar, ActivityIndicator, interactive demo
- GridsPage: Grid layouts - auto/star/absolute sizing, spans, nesting
- AboutPage: OpenMaui Linux information
- DetailPage: Push/pop navigation demo
All pages use proper XAML with code-behind following MAUI patterns.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 20:02:24 -05:00
|
|
|
<FlyoutItem Title="About" Route="About">
|
|
|
|
|
<ShellContent ContentTemplate="{DataTemplate pages:AboutPage}" />
|
|
|
|
|
</FlyoutItem>
|
|
|
|
|
|
|
|
|
|
</Shell>
|