-
Notifications
You must be signed in to change notification settings - Fork 90
/
FlipControlPage.xaml
26 lines (24 loc) · 1.3 KB
/
FlipControlPage.xaml
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
<UserControl
x:Class="PixelLab.SL.Demo.FlipControlPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="Gray"
xmlns:lib="http://schemas.thinkpixellab.com/2011/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" >
<UserControl.Resources>
<Style x:Key="PageButtonStyle" TargetType="RepeatButton">
<Setter Property="VerticalAlignment" Value="Bottom"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Width" Value="100" />
<Setter Property="Height" Value="30" />
<Setter Property="Opacity" Value=".3" />
</Style>
</UserControl.Resources>
<Grid Name="m_layoutRoot" Background="LightGray" Width="400" Height="400">
<lib:FlipControl Name="m_flip" Width="400" Height="400"/>
<RepeatButton Name="m_previos" HorizontalAlignment="Left" Content="Previous" Style="{StaticResource PageButtonStyle}" />
<RepeatButton Name="m_next" HorizontalAlignment="Right" Content="Next" Style="{StaticResource PageButtonStyle}" />
</Grid>
</UserControl>