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