|
5 | 5 | xmlns:sys="clr-namespace:System;assembly=netstandard"
|
6 | 6 | xmlns:views="clr-namespace:Xaminals.Views"
|
7 | 7 | x:Class="Xaminals.AppShell"
|
| 8 | + x:Name="shell" |
8 | 9 | FlyoutBackgroundImage="photo.jpg"
|
9 | 10 | FlyoutBackgroundImageAspect="AspectFill"
|
10 | 11 | FlyoutHeaderBehavior="CollapseOnScroll">
|
|
98 | 99 | </DataTemplate>
|
99 | 100 | </Shell.FlyoutFooterTemplate>-->
|
100 | 101 |
|
| 102 | + <!-- FlyoutContent --> |
| 103 | + <!-- Not required, just an example --> |
| 104 | + <!--<Shell.FlyoutContent> |
| 105 | + <CollectionView BindingContext="{x:Reference shell}" |
| 106 | + IsGrouped="True" |
| 107 | + ItemsSource="{Binding FlyoutItems}"> |
| 108 | + <CollectionView.ItemTemplate> |
| 109 | + <DataTemplate> |
| 110 | + <Label Text="{Binding Title}" |
| 111 | + TextColor="White" |
| 112 | + FontSize="Large" /> |
| 113 | + </DataTemplate> |
| 114 | + </CollectionView.ItemTemplate> |
| 115 | + </CollectionView> |
| 116 | + </Shell.FlyoutContent>--> |
| 117 | + |
| 118 | + <!-- Template for FlyoutContent --> |
| 119 | + <!-- Not required, just an example --> |
| 120 | + <!--<Shell.FlyoutContentTemplate> |
| 121 | + <DataTemplate> |
| 122 | + <CollectionView BindingContext="{x:Reference shell}" |
| 123 | + IsGrouped="True" |
| 124 | + ItemsSource="{Binding FlyoutItems}"> |
| 125 | + <CollectionView.ItemTemplate> |
| 126 | + <DataTemplate> |
| 127 | + <Label Text="{Binding Title}" |
| 128 | + TextColor="White" |
| 129 | + FontSize="Large" /> |
| 130 | + </DataTemplate> |
| 131 | + </CollectionView.ItemTemplate> |
| 132 | + </CollectionView> |
| 133 | + </DataTemplate> |
| 134 | + </Shell.FlyoutContentTemplate>--> |
| 135 | + |
101 | 136 | <!-- Template each FlyoutItem -->
|
102 | 137 | <!-- <Shell.ItemTemplate>
|
103 | 138 | <DataTemplate>
|
|
0 commit comments