blob: d7276aca2f775c2e2ca6e9a0d1c3afc298fe8aa4 (
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
|
<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide3_Intro"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<materialDesign:ColorZone Mode="PrimaryDark" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="64">
<TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">OK, we've seen some cool stuff. Let's take a look at some more transition types.</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}"
Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}"
VerticalAlignment="Center"
Margin="16">
<materialDesign:PackIcon Kind="StepBackward" />
</Button>
<Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}"
Command="{x:Static materialDesign:Transitioner.MoveNextCommand}"
Margin="16">
<materialDesign:PackIcon Kind="StepForward" />
</Button>
</StackPanel>
</StackPanel>
</materialDesign:ColorZone>
</UserControl>
|