Skip to content

Commit 27edf31

Browse files
committed
chore: remove Headline per Page and minor adjustments
1 parent 3680229 commit 27edf31

File tree

1 file changed

+23
-30
lines changed

1 file changed

+23
-30
lines changed

src/DevTKSS.Uno.Samples.MvuxGallery/Presentation/Views/DashboardPage.xaml

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,41 +17,34 @@
1717

1818
<Grid x:Name="DashboardGrid">
1919
<Grid.RowDefinitions>
20-
<RowDefinition Height="Auto"/>
21-
<RowDefinition Height="*"/>
22-
<RowDefinition Height="Auto"
23-
MaxHeight="400"/>
20+
<RowDefinition Height="*" />
21+
<RowDefinition Height="Auto" />
2422
</Grid.RowDefinitions>
2523

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"
3526
Margin="3"
3627
CanDrag="False"
3728
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>
5548
</mvux:FeedView>
5649
<Expander Grid.Row="1"
5750
MaxHeight="400"

0 commit comments

Comments
 (0)