|
17 | 17 |
|
18 | 18 | <Grid x:Name="DashboardGrid"> |
19 | 19 | <Grid.RowDefinitions> |
20 | | - <RowDefinition Height="Auto"/> |
21 | | - <RowDefinition Height="*"/> |
22 | | - <RowDefinition Height="Auto" |
23 | | - MaxHeight="400"/> |
| 20 | + <RowDefinition Height="*" /> |
| 21 | + <RowDefinition Height="Auto" /> |
24 | 22 | </Grid.RowDefinitions> |
25 | 23 |
|
26 | | - <TextBlock TextAlignment="Center" |
27 | | - VerticalAlignment="Center" |
28 | | - Style="{StaticResource HeadlineMedium}" |
29 | | - Text="{Binding Path=DashboardTitle,Mode=OneWay}"/> |
30 | | - |
31 | | - <!--Right Side--> |
32 | | - <mvux:FeedView x:Name="GriddedFeedView" |
33 | | - Grid.Row="1" |
34 | | - Source="{Binding GalleryImages}" |
| 24 | + <mvux:FeedView Source="{Binding GalleryImages}" |
| 25 | + Grid.Row="0" |
35 | 26 | Margin="3" |
36 | 27 | CanDrag="False" |
37 | 28 | AllowDrop="False"> |
38 | | - <DataTemplate> |
39 | | - <GridView SelectedIndex="0" |
40 | | - x:Name="ContentGridView" |
41 | | - ItemsSource="{Binding Data}" |
42 | | - ItemTemplate="{StaticResource StyledCardTemplate}" |
43 | | - HeaderTemplate="{StaticResource ViewHeaderTemplate}" |
44 | | - Header="{Binding Parent.ViewHeaderContent}" |
45 | | - CanReorderItems="False" |
46 | | - CanDragItems="False" |
47 | | - IsItemClickEnabled="True" |
48 | | - AllowDrop="False" |
49 | | - SelectionMode="Single" |
50 | | - HorizontalAlignment="Stretch" |
51 | | - HorizontalContentAlignment="Stretch" |
52 | | - VerticalContentAlignment="Center"> |
53 | | - </GridView> |
54 | | - </DataTemplate> |
| 29 | + <mvux:FeedView.ValueTemplate> |
| 30 | + <DataTemplate> |
| 31 | + <GridView SelectedIndex="0" |
| 32 | + x:Name="ContentGridView" |
| 33 | + ItemsSource="{Binding Data}" |
| 34 | + ItemTemplate="{StaticResource StyledCardTemplate}" |
| 35 | + HeaderTemplate="{StaticResource ViewHeaderTemplate}" |
| 36 | + Header="{Binding Parent.ViewHeaderContent}" |
| 37 | + CanReorderItems="False" |
| 38 | + CanDragItems="False" |
| 39 | + IsItemClickEnabled="True" |
| 40 | + AllowDrop="False" |
| 41 | + SelectionMode="Single" |
| 42 | + HorizontalAlignment="Stretch" |
| 43 | + HorizontalContentAlignment="Stretch" |
| 44 | + VerticalContentAlignment="Center"> |
| 45 | + </GridView> |
| 46 | + </DataTemplate> |
| 47 | + </mvux:FeedView.ValueTemplate> |
55 | 48 | </mvux:FeedView> |
56 | 49 | <Expander Grid.Row="1" |
57 | 50 | MaxHeight="400" |
|
0 commit comments