blob: 523818b9f5f03033a1c19b29f3d185f65d23cd9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide7_MVVM"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="300" d:DesignWidth="300">
<materialDesign:ColorZone Mode="Light" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid Margin="64">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">That's the end of the demo for now; a full MVVM demo coming soon!</TextBlock>
<!--
<TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">Finally, we will put it all together to create full master & details pages, controlled via MVVM.</TextBlock>
-->
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center">
<Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}"
Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}"
VerticalAlignment="Center" HorizontalAlignment="Left"
Margin="16">
<materialDesign:PackIcon Kind="StepBackward" />
</Button>
<!--
<Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}"
Command="{x:Static materialDesign:Transitioner.MoveNextCommand}"
VerticalAlignment="Top"
Margin="16">
<materialDesign:PackIcon Kind="StepForward" />
</Button>
-->
</StackPanel>
</Grid>
</materialDesign:ColorZone>
</UserControl>
|