src/FingersDance.Control.Pivot/UserControlPivot.xaml
changeset 48 50f075139497
parent 46 f1a26ca4177e
child 58 d7313fb1806c
equal deleted inserted replaced
47:4eb65101c6b3 48:50f075139497
     3 	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     3 	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     6 	mc:Ignorable="d"
     6 	mc:Ignorable="d"
     7 	x:Class="FingersDance.Control.Pivot.UserControlPivot"
     7 	x:Class="FingersDance.Control.Pivot.UserControlPivot"
     8 	x:Name="UserControl" Width="52" Height="52" xmlns:Custom="http://schemas.microsoft.com/surface/2008">
     8 	x:Name="UserControl" Width="70" Height="70" xmlns:Custom="http://schemas.microsoft.com/surface/2008">
     9 	<UserControl.Resources>
     9 	<UserControl.Resources>
    10 		<ResourceDictionary>
    10 		<ResourceDictionary>
    11 			<ResourceDictionary.MergedDictionaries>
    11 			<ResourceDictionary.MergedDictionaries>
    12 				<ResourceDictionary Source="FingersDance.Control.Pivot.Ressource.xaml"/>
    12 				<ResourceDictionary Source="FingersDance.Control.Pivot.Ressource.xaml"/>
    13 			</ResourceDictionary.MergedDictionaries>
    13 			</ResourceDictionary.MergedDictionaries>
    20 		</Grid.RowDefinitions>
    20 		</Grid.RowDefinitions>
    21 		<Grid.ColumnDefinitions>
    21 		<Grid.ColumnDefinitions>
    22 			<ColumnDefinition Width="0.506*"/>
    22 			<ColumnDefinition Width="0.506*"/>
    23 			<ColumnDefinition Width="0.494*"/>
    23 			<ColumnDefinition Width="0.494*"/>
    24 		</Grid.ColumnDefinitions>
    24 		</Grid.ColumnDefinitions>
    25 		<Ellipse Fill="#FFFFFFFF" Stroke="#FF000000" Grid.ColumnSpan="2" Grid.RowSpan="2"/>
    25 		<Ellipse Stroke="#FF000000" Grid.ColumnSpan="2" Grid.RowSpan="2">
       
    26 			<Ellipse.Fill>
       
    27 				<RadialGradientBrush>
       
    28 					<RadialGradientBrush.RelativeTransform>
       
    29 						<TransformGroup>
       
    30 							<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="0.93" ScaleY="0.93"/>
       
    31 							<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
       
    32 							<RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
       
    33 							<TranslateTransform X="0" Y="0"/>
       
    34 						</TransformGroup>
       
    35 					</RadialGradientBrush.RelativeTransform>
       
    36 					<GradientStop Color="#FFFFFFFF" Offset="0"/>
       
    37 					<GradientStop Color="#FF000000" Offset="0.258"/>
       
    38 				</RadialGradientBrush>
       
    39 			</Ellipse.Fill>
       
    40 		</Ellipse>
    26 		<Custom:SurfaceButton BorderThickness="0,0,0,0" HorizontalAlignment="Center" x:Name="SurfaceButtonPlayer1" VerticalAlignment="Center" Content="" Background="{DynamicResource Color_8_#230FD2_xaml}"/>
    41 		<Custom:SurfaceButton BorderThickness="0,0,0,0" HorizontalAlignment="Center" x:Name="SurfaceButtonPlayer1" VerticalAlignment="Center" Content="" Background="{DynamicResource Color_8_#230FD2_xaml}"/>
    27 		<Custom:SurfaceButton Content="" HorizontalAlignment="Center" x:Name="SurfaceButtonPlayer2" VerticalAlignment="Center" Grid.Column="1" RenderTransformOrigin="0.5,0.5" Background="{DynamicResource Color_4_#FF0000_xaml}">
    42 		<Custom:SurfaceButton Content="" HorizontalAlignment="Center" x:Name="SurfaceButtonPlayer2" VerticalAlignment="Center" Grid.Column="1" RenderTransformOrigin="0.5,0.5" Background="{DynamicResource Color_4_#FF0000_xaml}">
    28 			<Custom:SurfaceButton.RenderTransform>
    43 			<Custom:SurfaceButton.RenderTransform>
    29 				<TransformGroup>
    44 				<TransformGroup>
    30 					<ScaleTransform ScaleX="-1" ScaleY="1"/>
    45 					<ScaleTransform ScaleX="-1" ScaleY="1"/>
    52 					<RotateTransform Angle="0"/>
    67 					<RotateTransform Angle="0"/>
    53 					<TranslateTransform X="0" Y="0"/>
    68 					<TranslateTransform X="0" Y="0"/>
    54 				</TransformGroup>
    69 				</TransformGroup>
    55 			</Custom:SurfaceButton.RenderTransform>
    70 			</Custom:SurfaceButton.RenderTransform>
    56 		</Custom:SurfaceButton>
    71 		</Custom:SurfaceButton>
       
    72 		<Ellipse Height="17.573" HorizontalAlignment="Right" VerticalAlignment="Top" Width="17.573" Margin="0,-8.742,-8.566,0" Grid.Row="1" Fill="{x:Null}">
       
    73 			<Ellipse.Stroke>
       
    74 				<RadialGradientBrush>
       
    75 					<GradientStop Color="#FF8A8888" Offset="0"/>
       
    76 					<GradientStop Color="#FFFFFFFF" Offset="1"/>
       
    77 				</RadialGradientBrush>
       
    78 			</Ellipse.Stroke>
       
    79 		</Ellipse>
    57 	</Grid>
    80 	</Grid>
    58 </UserControl>
    81 </UserControl>