src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml
changeset 187 b266af50744c
parent 186 83615722dbab
child 188 e642ad0c366b
equal deleted inserted replaced
186:83615722dbab 187:b266af50744c
     1 <UserControl
       
     2 	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       
     3 	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
       
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
       
     6 	mc:Ignorable="d"
       
     7 	xmlns:Custom="http://schemas.microsoft.com/surface/2008" 
       
     8     xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic"
       
     9 	x:Class="FingersDance.Control.SessionInput.UserControlSessionInput"
       
    10 	x:Name="UserControl"
       
    11 	Background="#FFA09E9E" 
       
    12     Width="256" 
       
    13     Height="192">
       
    14 
       
    15 	<UserControl.Resources>
       
    16 		<Style x:Key="FingersDance.Control.SurfaceRadioButton" TargetType="{x:Type Custom:SurfaceRadioButton}">
       
    17 			<Setter Property="HorizontalContentAlignment" Value="Left"/>
       
    18 			<Setter Property="Background" Value="Transparent"/>
       
    19 			<Setter Property="Foreground" Value="Black"/>
       
    20 			<Setter Property="BorderBrush" Value="Transparent"/>
       
    21 			<Setter Property="Padding" Value="5,0,0,0"/>
       
    22 			<Setter Property="Template">
       
    23 				<Setter.Value>
       
    24 					<ControlTemplate TargetType="{x:Type Custom:SurfaceRadioButton}">
       
    25 						<ControlTemplate.Resources>
       
    26 							<Storyboard x:Key="ThreeStateExit">
       
    27 								<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
       
    28 									<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
       
    29 								</DoubleAnimationUsingKeyFrames>
       
    30 							</Storyboard>
       
    31 							<Storyboard x:Key="Press">
       
    32 								<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
       
    33 									<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
       
    34 								</DoubleAnimationUsingKeyFrames>
       
    35 								<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
    36 									<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-2"/>
       
    37 								</ThicknessAnimationUsingKeyFrames>
       
    38 							</Storyboard>
       
    39 							<Storyboard x:Key="Checked">
       
    40 								<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
       
    41 							</Storyboard>
       
    42 							<Storyboard x:Key="Release">
       
    43 								<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
       
    44 									<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
       
    45 									<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
       
    46 								</DoubleAnimationUsingKeyFrames>
       
    47 								<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
    48 									<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-2"/>
       
    49 									<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/>
       
    50 								</ThicknessAnimationUsingKeyFrames>
       
    51 							</Storyboard>
       
    52 							<Storyboard x:Key="Unchecked">
       
    53 								<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
       
    54 							</Storyboard>
       
    55 							<Storyboard x:Key="ThreeStateEnter">
       
    56 								<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
       
    57 									<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0.9"/>
       
    58 								</DoubleAnimationUsingKeyFrames>
       
    59 							</Storyboard>
       
    60 						</ControlTemplate.Resources>
       
    61 						<BulletDecorator x:Name="bulletDecorator" MinHeight="30" MinWidth="30" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Background="Transparent">
       
    62 							<BulletDecorator.Bullet>
       
    63 								<Grid MinHeight="30" MinWidth="30" Width="30" Height="30" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
    64 									<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Stroke="Transparent" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
       
    65 									<Rectangle x:Name="Button" Fill="{x:Null}" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Stroke="White"/>
       
    66 									<Rectangle x:Name="RenderOverlay" StrokeThickness="1" RadiusX="15" RadiusY="15" Margin="3" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Fill="{x:Null}" Stroke="{x:Null}"/>
       
    67 									<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="GlowBorder" Margin="2" Opacity="0" Color="White" CornerRadius="{Binding ActualHeight, ElementName=GlowBorder}"/>
       
    68 									<Rectangle x:Name="Checkmark" Fill="{x:Null}" StrokeThickness="7" RadiusX="6" RadiusY="6" Margin="8" Opacity="0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
    69 										<Rectangle.Stroke>
       
    70 											<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
       
    71 												<GradientStop Color="#FF292929" Offset="1"/>
       
    72 												<GradientStop Color="#FF1B1B1B" Offset="0.276"/>
       
    73 											</LinearGradientBrush>
       
    74 										</Rectangle.Stroke>
       
    75 									</Rectangle>
       
    76 									<Rectangle x:Name="ThreeStateMark" StrokeThickness="1" RadiusX="13" RadiusY="13" Margin="6" Opacity="0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
    77 										<Rectangle.Stroke>
       
    78 											<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
       
    79 												<GradientStop Color="#66000000" Offset="0"/>
       
    80 												<GradientStop Color="#33000000" Offset="1"/>
       
    81 											</LinearGradientBrush>
       
    82 										</Rectangle.Stroke>
       
    83 										<Rectangle.Fill>
       
    84 											<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
       
    85 												<GradientStop Color="#FF292929" Offset="0.5"/>
       
    86 												<GradientStop Color="#FF1B1B1B" Offset="0.196"/>
       
    87 											</LinearGradientBrush>
       
    88 										</Rectangle.Fill>
       
    89 									</Rectangle>
       
    90 								</Grid>
       
    91 							</BulletDecorator.Bullet>
       
    92 							<Grid HorizontalAlignment="Stretch" Margin="5,0,0,0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
    93 								<Grid x:Name="ContentBox" HorizontalAlignment="Stretch" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Background="Transparent">
       
    94 									<ContentPresenter x:Name="Content" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" ClipToBounds="False" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
       
    95 								</Grid>
       
    96 							</Grid>
       
    97 						</BulletDecorator>
       
    98 						<ControlTemplate.Triggers>
       
    99 							<MultiTrigger>
       
   100 								<MultiTrigger.Conditions>
       
   101 									<Condition Property="IsThreeState" Value="True"/>
       
   102 									<Condition Property="IsChecked" Value="{x:Null}"/>
       
   103 								</MultiTrigger.Conditions>
       
   104 								<MultiTrigger.ExitActions>
       
   105 									<BeginStoryboard>
       
   106 										<Storyboard>
       
   107 											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   108 												<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
       
   109 											</DoubleAnimationUsingKeyFrames>
       
   110 										</Storyboard>
       
   111 									</BeginStoryboard>
       
   112 								</MultiTrigger.ExitActions>
       
   113 								<MultiTrigger.EnterActions>
       
   114 									<BeginStoryboard>
       
   115 										<Storyboard>
       
   116 											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ThreeStateMark" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   117 												<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0.9"/>
       
   118 											</DoubleAnimationUsingKeyFrames>
       
   119 										</Storyboard>
       
   120 									</BeginStoryboard>
       
   121 								</MultiTrigger.EnterActions>
       
   122 							</MultiTrigger>
       
   123 							<Trigger Property="IsChecked" Value="False">
       
   124 								<Trigger.EnterActions>
       
   125 									<BeginStoryboard>
       
   126 										<Storyboard>
       
   127 											<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
       
   128 										</Storyboard>
       
   129 									</BeginStoryboard>
       
   130 								</Trigger.EnterActions>
       
   131 								<Trigger.ExitActions>
       
   132 									<BeginStoryboard>
       
   133 										<Storyboard>
       
   134 											<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
       
   135 										</Storyboard>
       
   136 									</BeginStoryboard>
       
   137 								</Trigger.ExitActions>
       
   138 							</Trigger>
       
   139 							<Trigger Property="IsChecked" Value="True">
       
   140 								<Trigger.EnterActions>
       
   141 									<BeginStoryboard>
       
   142 										<Storyboard>
       
   143 											<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="1"/>
       
   144 										</Storyboard>
       
   145 									</BeginStoryboard>
       
   146 								</Trigger.EnterActions>
       
   147 								<Trigger.ExitActions>
       
   148 									<BeginStoryboard>
       
   149 										<Storyboard>
       
   150 											<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="Checkmark" Storyboard.TargetProperty="Opacity" To="0"/>
       
   151 										</Storyboard>
       
   152 									</BeginStoryboard>
       
   153 								</Trigger.ExitActions>
       
   154 							</Trigger>
       
   155 							<Trigger Property="IsPressed" Value="True">
       
   156 								<Trigger.EnterActions>
       
   157 									<BeginStoryboard>
       
   158 										<Storyboard>
       
   159 											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   160 												<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
       
   161 											</DoubleAnimationUsingKeyFrames>
       
   162 											<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   163 												<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-2"/>
       
   164 											</ThicknessAnimationUsingKeyFrames>
       
   165 										</Storyboard>
       
   166 									</BeginStoryboard>
       
   167 								</Trigger.EnterActions>
       
   168 								<Trigger.ExitActions>
       
   169 									<BeginStoryboard>
       
   170 										<Storyboard>
       
   171 											<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   172 												<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
       
   173 												<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
       
   174 											</DoubleAnimationUsingKeyFrames>
       
   175 											<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   176 												<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-2"/>
       
   177 												<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/>
       
   178 											</ThicknessAnimationUsingKeyFrames>
       
   179 										</Storyboard>
       
   180 									</BeginStoryboard>
       
   181 								</Trigger.ExitActions>
       
   182 							</Trigger>
       
   183 							<Trigger Property="IsEnabled" Value="False">
       
   184 								<Setter Property="Fill" TargetName="Button" Value="#00000000"/>
       
   185 								<Setter Property="Stroke" TargetName="Button" Value="#33000000"/>
       
   186 								<Setter Property="Foreground" Value="#A5333333"/>
       
   187 								<Setter Property="Fill" TargetName="RenderOverlay" Value="#00000000"/>
       
   188 								<Setter Property="Stroke" TargetName="Checkmark" Value="#33000000"/>
       
   189 								<Setter Property="Opacity" TargetName="RenderOverlay" Value="0.5"/>
       
   190 							</Trigger>
       
   191 						</ControlTemplate.Triggers>
       
   192 					</ControlTemplate>
       
   193 				</Setter.Value>
       
   194 			</Setter>
       
   195 			<Style.BasedOn>
       
   196 				<Style TargetType="{x:Type ButtonBase}">
       
   197 					<Setter Property="SnapsToDevicePixels" Value="True"/>
       
   198 					<Setter Property="FocusVisualStyle">
       
   199 						<Setter.Value>
       
   200 							<Style>
       
   201 								<Setter Property="Control.Template">
       
   202 									<Setter.Value>
       
   203 										<ControlTemplate/>
       
   204 									</Setter.Value>
       
   205 								</Setter>
       
   206 							</Style>
       
   207 						</Setter.Value>
       
   208 					</Setter>
       
   209 					<Setter Property="FontFamily" Value="Segoe UI"/>
       
   210 					<Setter Property="FontSize" Value="10"/>
       
   211 					<Setter Property="Foreground" Value="Black"/>
       
   212 					<Setter Property="Background" Value="#33A4B4BD"/>
       
   213 					<Setter Property="BorderBrush">
       
   214 						<Setter.Value>
       
   215 							<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
       
   216 								<GradientStop Color="#7FFFFFFF" Offset="0"/>
       
   217 								<GradientStop Color="#0CFFFFFF" Offset="1"/>
       
   218 							</LinearGradientBrush>
       
   219 						</Setter.Value>
       
   220 					</Setter>
       
   221 					<Setter Property="BorderThickness" Value="1"/>
       
   222 					<Setter Property="HorizontalContentAlignment" Value="Center"/>
       
   223 					<Setter Property="VerticalContentAlignment" Value="Center"/>
       
   224 					<Setter Property="Padding" Value="15,6"/>
       
   225 					<Setter Property="IsTabStop" Value="False"/>
       
   226 					<Setter Property="Focusable" Value="False"/>
       
   227 					<Setter Property="MinWidth" Value="30"/>
       
   228 					<Setter Property="MinHeight" Value="30"/>
       
   229 					<Setter Property="Template">
       
   230 						<Setter.Value>
       
   231 							<ControlTemplate TargetType="{x:Type ButtonBase}">
       
   232 								<ControlTemplate.Resources>
       
   233 									<Storyboard x:Key="Press">
       
   234 										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   235 											<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
       
   236 										</DoubleAnimationUsingKeyFrames>
       
   237 										<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   238 											<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
       
   239 										</ThicknessAnimationUsingKeyFrames>
       
   240 									</Storyboard>
       
   241 									<Storyboard x:Key="Release">
       
   242 										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   243 											<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
       
   244 											<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
       
   245 										</DoubleAnimationUsingKeyFrames>
       
   246 										<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   247 											<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
       
   248 											<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
       
   249 										</ThicknessAnimationUsingKeyFrames>
       
   250 									</Storyboard>
       
   251 								</ControlTemplate.Resources>
       
   252 								<Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
   253 									<Border x:Name="Shadow" Margin="1,1,1,0" BorderBrush="#33000000" BorderThickness="0,0,0,1" CornerRadius="6" Padding="1"/>
       
   254 									<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" StrokeThickness="1" RadiusX="5" RadiusY="5" Margin="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
   255 										<Rectangle.Stroke>
       
   256 											<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
       
   257 												<GradientStop Color="#66000000" Offset="0"/>
       
   258 												<GradientStop Color="#33000000" Offset="1"/>
       
   259 											</LinearGradientBrush>
       
   260 										</Rectangle.Stroke>
       
   261 									</Rectangle>
       
   262 									<Rectangle x:Name="RenderOverlay" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1" RadiusX="4" RadiusY="4" Margin="2" Opacity="1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
       
   263 										<Rectangle.Fill>
       
   264 											<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
       
   265 												<GradientStop Color="#26000000" Offset="0"/>
       
   266 												<GradientStop Color="#4CFFFFFF" Offset="1"/>
       
   267 											</LinearGradientBrush>
       
   268 										</Rectangle.Fill>
       
   269 									</Rectangle>
       
   270 									<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Margin="1" Opacity="0" Color="White" CornerRadius="4"/>
       
   271 									<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}">
       
   272 										<ContentPresenter.RenderTransform>
       
   273 											<TranslateTransform X="0" Y="-1"/>
       
   274 										</ContentPresenter.RenderTransform>
       
   275 									</ContentPresenter>
       
   276 								</Grid>
       
   277 								<ControlTemplate.Triggers>
       
   278 									<Trigger Property="IsPressed" Value="True">
       
   279 										<Trigger.EnterActions>
       
   280 											<BeginStoryboard>
       
   281 												<Storyboard>
       
   282 													<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   283 														<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
       
   284 													</DoubleAnimationUsingKeyFrames>
       
   285 													<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   286 														<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="-3"/>
       
   287 													</ThicknessAnimationUsingKeyFrames>
       
   288 												</Storyboard>
       
   289 											</BeginStoryboard>
       
   290 										</Trigger.EnterActions>
       
   291 										<Trigger.ExitActions>
       
   292 											<BeginStoryboard>
       
   293 												<Storyboard>
       
   294 													<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(UIElement.Opacity)">
       
   295 														<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
       
   296 														<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/>
       
   297 													</DoubleAnimationUsingKeyFrames>
       
   298 													<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Glow" Storyboard.TargetProperty="(FrameworkElement.Margin)">
       
   299 														<SplineThicknessKeyFrame KeyTime="00:00:00" Value="-3"/>
       
   300 														<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/>
       
   301 													</ThicknessAnimationUsingKeyFrames>
       
   302 												</Storyboard>
       
   303 											</BeginStoryboard>
       
   304 										</Trigger.ExitActions>
       
   305 									</Trigger>
       
   306 									<Trigger Property="IsEnabled" Value="True"/>
       
   307 									<Trigger Property="IsEnabled" Value="False">
       
   308 										<Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
       
   309 										<Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
       
   310 										<Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
       
   311 										<Setter Property="BorderBrush" TargetName="Shadow" Value="#00000000"/>
       
   312 										<Setter Property="Foreground" Value="#A5333333"/>
       
   313 										<Setter Property="Background" Value="Transparent"/>
       
   314 									</Trigger>
       
   315 								</ControlTemplate.Triggers>
       
   316 							</ControlTemplate>
       
   317 						</Setter.Value>
       
   318 					</Setter>
       
   319 				</Style>
       
   320 			</Style.BasedOn>
       
   321 		</Style>
       
   322 	</UserControl.Resources>
       
   323 
       
   324 	<Grid x:Name="LayoutRoot" Background="{DynamicResource SessionInput__Background_xaml}">
       
   325 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,17.818,8,0" x:Name="ST_Name" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Foreground="#FF000000" Background="#7FFFFFFF"/>
       
   326 		<Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Name:" Margin="14.367,9.818,0,0" x:Name="LName" Foreground="#FFBCB3B3"/>
       
   327 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" Margin="92.688,50.626,8,0" x:Name="ST_Date" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
       
   328 		<Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Date:" Margin="14.367,42.626,0,0" x:Name="LDate" Foreground="#FFBCB3B3"/>
       
   329 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,82.586,8,0" x:Name="ST_Alias" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7EFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
       
   330 		<Label HorizontalAlignment="Left" Content="Alias:" Margin="14.367,74.586,0,91.454" x:Name="LAlias" Foreground="#FFBCB3B3" d:LayoutOverrides="Height"/>
       
   331 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,113.677,8,0" x:Name="ST_Email" VerticalAlignment="Top" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
       
   332 		<Label HorizontalAlignment="Left" Content="Email:" Margin="14.367,0,0,59.494" x:Name="LEmail" VerticalAlignment="Bottom" Foreground="#FFBCB3B3"/>
       
   333 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment" Margin="92.688,0,8,30.403" x:Name="ST_Desc" VerticalAlignment="Bottom" Text="" TextWrapping="Wrap" Background="#7FFFFFFF" BorderBrush="{x:Null}" Foreground="#FF000000"/>
       
   334 		<Label x:Name="LDescription" HorizontalAlignment="Left" VerticalAlignment="Bottom" Content="Description:" Margin="14.367,0,0,30.403" Width="74.321" Foreground="#FFBCB3B3"/>
       
   335 		<Custom:SurfaceRadioButton RenderTransformOrigin="0.46,0.243" Margin="70.688,0,0,3" VerticalAlignment="Bottom" Content="" Height="30.403" x:Name="SurfaceButtonSubmit" ContactDown="SurfaceButtonSubmit_ContactDown" Click="SurfaceButtonSubmit_Click" HorizontalAlignment="Left" Style="{DynamicResource FingersDance.Control.SurfaceRadioButton}" Width="33.312" Background="{DynamicResource ConfirmationTick_xaml}" BorderBrush="{x:Null}">
       
   336 			<Custom:SurfaceRadioButton.RenderTransform>
       
   337 				<TransformGroup>
       
   338 					<ScaleTransform ScaleX="1" ScaleY="1"/>
       
   339 					<SkewTransform AngleX="0" AngleY="0"/>
       
   340 					<RotateTransform Angle="0"/>
       
   341 					<TranslateTransform X="0" Y="0"/>
       
   342 				</TransformGroup>
       
   343 			</Custom:SurfaceRadioButton.RenderTransform>
       
   344 		</Custom:SurfaceRadioButton>
       
   345 	</Grid>
       
   346 </UserControl>