blob: ffbd1b800148b5e9537a7489c2a8aa5ce67d0a11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide1_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:local="clr-namespace:MaterialDesignDemo.TransitionsDemo"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
>
<materialDesign:ColorZone Mode="Light" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<StackPanel VerticalAlignment="Center">
<TextBlock>Welcome to the transitions showcase! Take the red pill to begin...</TextBlock>
<!-- you can easily use the move next, previous, first and last commands -->
<Button Style="{DynamicResource MaterialDesignFloatingActionButton}" Margin="64"
Command="{x:Static materialDesign:Transitioner.MoveNextCommand}">
<materialDesign:PackIcon Kind="Pill" />
</Button>
</StackPanel>
</materialDesign:ColorZone>
</UserControl>
|