src/FingersDance.Control.Pivot/UserControlPivot.xaml
author riley
Wed, 23 Sep 2009 17:24:33 +0200
changeset 87 68f4c0d7a7fc
parent 77 e95e916eb018
child 92 3a0b48be34bd
permissions -rw-r--r--
New pivot
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     1
<UserControl
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     2
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     3
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     4
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     5
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     6
	mc:Ignorable="d"
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
     7
	xmlns:Custom="http://schemas.microsoft.com/surface/2008" xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic"
35
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
     8
	x:Class="FingersDance.Control.Pivot.UserControlPivot"
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
     9
	x:Name="UserControl" Width="90" Height="90">
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
    10
	<UserControl.Resources>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
    11
		<ResourceDictionary>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
    12
			<ResourceDictionary.MergedDictionaries>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
    13
				<ResourceDictionary Source="FingersDance.Control.Pivot.Ressource.xaml"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
    14
			</ResourceDictionary.MergedDictionaries>
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    15
			<Style x:Key="FingersDance.Pivot.Button" TargetType="{x:Type Custom:SurfaceButton}">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    16
				<Style.BasedOn>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    17
					<Style TargetType="{x:Type ButtonBase}">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    18
						<Setter Property="SnapsToDevicePixels" Value="True"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    19
						<Setter Property="FocusVisualStyle">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    20
							<Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    21
								<Style>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    22
									<Setter Property="Control.Template">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    23
										<Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    24
											<ControlTemplate/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    25
										</Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    26
									</Setter>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    27
								</Style>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    28
							</Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    29
						</Setter>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    30
						<Setter Property="FontFamily" Value="Segoe UI"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    31
						<Setter Property="FontSize" Value="10"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    32
						<Setter Property="Foreground" Value="Black"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    33
						<Setter Property="Background" Value="#33A4B4BD"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    34
						<Setter Property="BorderBrush">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    35
							<Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    36
								<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    37
									<GradientStop Color="#7FFFFFFF" Offset="0"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    38
									<GradientStop Color="#0CFFFFFF" Offset="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    39
								</LinearGradientBrush>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    40
							</Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    41
						</Setter>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    42
						<Setter Property="BorderThickness" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    43
						<Setter Property="HorizontalContentAlignment" Value="Center"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    44
						<Setter Property="VerticalContentAlignment" Value="Center"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    45
						<Setter Property="Padding" Value="15,6"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    46
						<Setter Property="IsTabStop" Value="False"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    47
						<Setter Property="Focusable" Value="False"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    48
						<Setter Property="MinWidth" Value="30"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    49
						<Setter Property="MinHeight" Value="30"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    50
						<Setter Property="Template">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    51
							<Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    52
								<ControlTemplate TargetType="{x:Type ButtonBase}">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    53
									<ControlTemplate.Resources>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    54
										<Storyboard x:Key="Press">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    55
											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    56
												<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    57
											</DoubleAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    58
											<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    59
												<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    60
											</ThicknessAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    61
										</Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    62
										<Storyboard x:Key="Release">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    63
											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    64
												<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    65
												<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    66
											</DoubleAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    67
											<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    68
												<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    69
												<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    70
											</ThicknessAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    71
										</Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    72
									</ControlTemplate.Resources>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    73
									<Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    74
										<Border x:Name="Shadow" Margin="1,1,1,0" BorderBrush="{x:Null}" BorderThickness="0,0,0,1" CornerRadius="6" Padding="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    75
										<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" StrokeThickness="1" RadiusX="5" RadiusY="5" Margin="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Stroke="{x:Null}"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    76
										<Rectangle x:Name="RenderOverlay" StrokeThickness="1" RadiusX="4" RadiusY="4" Margin="2" Opacity="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Fill="{x:Null}"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    77
										<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Margin="1" Opacity="0" Color="White" CornerRadius="4"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    78
										<ContentPresenter x:Name="Content" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    79
											<ContentPresenter.RenderTransform>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    80
												<TranslateTransform X="0" Y="-1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    81
											</ContentPresenter.RenderTransform>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    82
										</ContentPresenter>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    83
									</Grid>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    84
									<ControlTemplate.Triggers>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    85
										<Trigger Property="IsPressed" Value="True">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    86
											<Trigger.EnterActions>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    87
												<BeginStoryboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    88
													<Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    89
														<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    90
															<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    91
														</DoubleAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    92
														<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    93
															<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    94
														</ThicknessAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    95
													</Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    96
												</BeginStoryboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    97
											</Trigger.EnterActions>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    98
											<Trigger.ExitActions>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
    99
												<BeginStoryboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   100
													<Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   101
														<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   102
															<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   103
															<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   104
														</DoubleAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   105
														<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   106
															<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   107
															<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   108
														</ThicknessAnimationUsingKeyFrames>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   109
													</Storyboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   110
												</BeginStoryboard>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   111
											</Trigger.ExitActions>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   112
										</Trigger>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   113
										<Trigger Property="IsEnabled" Value="True"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   114
										<Trigger Property="IsEnabled" Value="False">
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   115
											<Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   116
											<Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   117
											<Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   118
											<Setter Property="BorderBrush" TargetName="Shadow" Value="#00000000"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   119
											<Setter Property="Foreground" Value="#A5333333"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   120
											<Setter Property="Background" Value="Transparent"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   121
										</Trigger>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   122
									</ControlTemplate.Triggers>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   123
								</ControlTemplate>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   124
							</Setter.Value>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   125
						</Setter>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   126
					</Style>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   127
				</Style.BasedOn>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   128
			</Style>
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   129
		</ResourceDictionary>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   130
	</UserControl.Resources>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   131
	<Grid>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   132
		<Grid.RowDefinitions>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   133
			<RowDefinition Height="0.501*"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   134
			<RowDefinition Height="0.499*"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   135
		</Grid.RowDefinitions>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   136
		<Grid.ColumnDefinitions>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   137
			<ColumnDefinition Width="0.506*"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   138
			<ColumnDefinition Width="0.494*"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   139
		</Grid.ColumnDefinitions>
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   140
		<Ellipse Stroke="#FFFFFFFF" Grid.ColumnSpan="2" Grid.RowSpan="2" StrokeThickness="0.5" Fill="#FF706868" Margin="0.462,0,-0.462,0"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   141
		<Custom:SurfaceButton BorderThickness="0,0,0,0" x:Name="SurfaceButtonPlayer1" Content="" Background="{DynamicResource Color_9_#0096FF__xaml}" ContactDown="SurfaceButtonPlayer1_ContactDown" Click="SurfaceButtonPlayer1_Click" Margin="2.303,1.451,2.236,0.639" Width="41" Height="43" Style="{DynamicResource FingersDance.Pivot.Button}"/>
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   142
		<Custom:SurfaceButton Content="" x:Name="SurfaceButtonPlayer2" Grid.Column="1" RenderTransformOrigin="0.5,0.5" Background="{DynamicResource Color_4_#FF0000_xaml}" ContactDown="SurfaceButtonPlayer2_ContactDown" Click="SurfaceButtonPlayer2_Click" Margin="2.501,1.451,1.248,0.439" Width="41" Height="43" Style="{DynamicResource FingersDance.Pivot.Button}">
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   143
			<Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   144
				<TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   145
					<ScaleTransform ScaleX="-1" ScaleY="1"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   146
					<SkewTransform AngleX="0" AngleY="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   147
					<RotateTransform Angle="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   148
					<TranslateTransform X="0" Y="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   149
				</TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   150
			</Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   151
		</Custom:SurfaceButton>
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   152
		<Custom:SurfaceButton Content="" x:Name="SurfaceButtonPlayer3" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Background="{DynamicResource Color_12_#00C800_xaml}" ContactDown="SurfaceButtonPlayer3_ContactDown" Click="SurfaceButtonPlayer3_Click" Margin="2.303,0.593,2.167,1.317" Width="41" Height="43" Style="{DynamicResource FingersDance.Pivot.Button}" Foreground="{x:Null}" >
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   153
			<Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   154
				<TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   155
					<ScaleTransform ScaleX="1" ScaleY="-1"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   156
					<SkewTransform AngleX="0" AngleY="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   157
					<RotateTransform Angle="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   158
					<TranslateTransform X="0" Y="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   159
				</TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   160
			</Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   161
		</Custom:SurfaceButton>
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   162
		<Custom:SurfaceButton Content=""  Grid.Row="1" Grid.Column="1" x:Name="SurfaceButtonPlayer4" RenderTransformOrigin="0.5,0.5" Background="{DynamicResource Color_2_#FFC800_xaml}" ContactDown="SurfaceButtonPlayer4_ContactDown" Click="SurfaceButtonPlayer4_Click" Margin="2.212,0.809,1.248,1.317" Style="{DynamicResource FingersDance.Pivot.Button}" Width="41" Height="43">
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   163
			<Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   164
				<TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   165
					<ScaleTransform ScaleX="-1" ScaleY="-1"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   166
					<SkewTransform AngleX="0" AngleY="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   167
					<RotateTransform Angle="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   168
					<TranslateTransform X="0" Y="0"/>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   169
				</TransformGroup>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   170
			</Custom:SurfaceButton.RenderTransform>
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   171
		</Custom:SurfaceButton>
87
68f4c0d7a7fc New pivot
riley
parents: 77
diff changeset
   172
		<Ellipse Margin="0,0,-19,-19" StrokeThickness="0.5" Fill="#FF706868" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="40.655" Height="40.335"/>
46
f1a26ca4177e Travail sur le UserControlPivot + changement de design.
sarias
parents: 35
diff changeset
   173
	</Grid>
35
ed77793b767a Control Pivot,
sarias
parents:
diff changeset
   174
</UserControl>