Mercurial > silverbladetech
annotate SilverlightGlimpse/FloatableWindow/themes/generic.xaml @ 79:5172a9b9800c
Ready to upload to codeplex
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Mon, 23 Apr 2012 23:07:23 +0100 |
parents | a0bcd783e612 |
children |
rev | line source |
---|---|
69 | 1 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
3 xmlns:controls="clr-namespace:System.Windows.Controls" | |
4 xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
5 |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
6 <Style TargetType="controls:FloatableWindow"> |
69 | 7 <Setter Property="IsTabStop" Value="false" /> |
8 <Setter Property="TabNavigation" Value="Cycle" /> | |
9 <Setter Property="HorizontalAlignment" Value="Center" /> | |
10 <Setter Property="VerticalAlignment" Value="Center" /> | |
11 <Setter Property="HorizontalContentAlignment" Value="Stretch" /> | |
12 <Setter Property="VerticalContentAlignment" Value="Stretch" /> | |
13 <Setter Property="BorderThickness" Value="1" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
14 <Setter Property="BorderBrush"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
15 <Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
16 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
69 | 17 <GradientStop Offset="0" Color="#FFA3AEB9" /> |
18 <GradientStop Offset="0.375" Color="#FF8399A9" /> | |
19 <GradientStop Offset="0.375" Color="#FF718597" /> | |
20 <GradientStop Offset="1" Color="#FF617584" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
21 </LinearGradientBrush> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
22 </Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
23 </Setter> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
24 <Setter Property="OverlayBrush"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
25 <Setter.Value> |
69 | 26 <SolidColorBrush Color="#7F000000" /> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
27 </Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
28 </Setter> |
69 | 29 <Setter Property="OverlayOpacity" Value="1" /> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
30 <Setter Property="Template"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
31 <Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
32 <ControlTemplate TargetType="controls:FloatableWindow"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
33 <Grid x:Name="Root"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
34 <Grid.Resources> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
35 <Style x:Key="ButtonStyle" TargetType="Button"> |
69 | 36 <Setter Property="Background" Value="#FF1F3B53" /> |
37 <Setter Property="Foreground" Value="#FF000000" /> | |
38 <Setter Property="Padding" Value="3" /> | |
39 <Setter Property="BorderThickness" Value="1" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
40 <Setter Property="BorderBrush"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
41 <Setter.Value> |
69 | 42 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
43 <GradientStop Offset="0" Color="#FFA3AEB9" /> | |
44 <GradientStop Offset="0.375" Color="#FF8399A9" /> | |
45 <GradientStop Offset="0.375" Color="#FF718597" /> | |
46 <GradientStop Offset="1" Color="#FF617584" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
47 </LinearGradientBrush> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
48 </Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
49 </Setter> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
50 <Setter Property="Template"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
51 <Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
52 <ControlTemplate TargetType="Button"> |
69 | 53 <Grid x:Name="grid" |
54 Width="15" | |
55 Height="14" | |
56 HorizontalAlignment="Center" | |
57 VerticalAlignment="Center" | |
58 Background="#02FFFFFF"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
59 <vsm:VisualStateManager.VisualStateGroups> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
60 <vsm:VisualStateGroup x:Name="CommonStates"> |
69 | 61 <vsm:VisualState x:Name="Normal" /> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
62 <vsm:VisualState x:Name="MouseOver"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
63 <Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
64 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
65 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
66 </ObjectAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
67 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
68 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
69 </ObjectAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
70 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
71 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
72 </ObjectAnimationUsingKeyFrames> |
69 | 73 <DoubleAnimation Duration="0" |
74 Storyboard.TargetName="X" | |
75 Storyboard.TargetProperty="Opacity" | |
76 To="0.95" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
77 </Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
78 </vsm:VisualState> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
79 <vsm:VisualState x:Name="Pressed"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
80 <Storyboard> |
69 | 81 <DoubleAnimation Duration="0" |
82 Storyboard.TargetName="X" | |
83 Storyboard.TargetProperty="Opacity" | |
84 To="0.85" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
85 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz2" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
86 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
87 </ObjectAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
88 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz1" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
89 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
90 </ObjectAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
91 <ObjectAnimationUsingKeyFrames Storyboard.TargetName="X_Fuzz0" Storyboard.TargetProperty="Visibility"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
92 <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
93 </ObjectAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
94 </Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
95 </vsm:VisualState> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
96 <vsm:VisualState x:Name="Disabled"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
97 <Storyboard> |
69 | 98 <DoubleAnimation Duration="0" |
99 Storyboard.TargetName="X" | |
100 Storyboard.TargetProperty="Opacity" | |
101 To="0.5" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
102 </Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
103 </vsm:VisualState> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
104 </vsm:VisualStateGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
105 </vsm:VisualStateManager.VisualStateGroups> |
69 | 106 <Path x:Name="X_Fuzz2" |
107 Width="9" | |
108 Height="8" | |
109 Margin="0,-1,0,0" | |
110 HorizontalAlignment="Center" | |
111 VerticalAlignment="Center" | |
112 Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" | |
113 Fill="#14C51900" | |
114 Opacity="1" | |
115 RenderTransformOrigin="0.5,0.5" | |
116 Stretch="Fill" | |
117 Stroke="#14C51900" | |
118 Visibility="Collapsed"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
119 <Path.RenderTransform> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
120 <TransformGroup> |
69 | 121 <ScaleTransform ScaleX="1.3" ScaleY="1.3" /> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
122 </TransformGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
123 </Path.RenderTransform> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
124 </Path> |
69 | 125 <Path x:Name="X_Fuzz1" |
126 Width="9" | |
127 Height="8" | |
128 Margin="0,-1,0,0" | |
129 HorizontalAlignment="Center" | |
130 VerticalAlignment="Center" | |
131 Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" | |
132 Fill="#1EC51900" | |
133 Opacity="1" | |
134 RenderTransformOrigin="0.5,0.5" | |
135 Stretch="Fill" | |
136 Stroke="#1EC51900" | |
137 Visibility="Collapsed"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
138 <Path.RenderTransform> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
139 <TransformGroup> |
69 | 140 <ScaleTransform ScaleX="1.1" ScaleY="1.1" /> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
141 </TransformGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
142 </Path.RenderTransform> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
143 </Path> |
69 | 144 <Path x:Name="X_Fuzz0" |
145 Width="9" | |
146 Height="8" | |
147 Margin="0,-1,0,0" | |
148 HorizontalAlignment="Center" | |
149 VerticalAlignment="Center" | |
150 Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" | |
151 Fill="#FFC51900" | |
152 Opacity="1" | |
153 Stretch="Fill" | |
154 Stroke="#FFC51900" | |
155 Visibility="Collapsed" /> | |
156 <Path x:Name="X" | |
157 Width="9" | |
158 Height="8" | |
159 Margin="0,-1,0,0" | |
160 HorizontalAlignment="Center" | |
161 VerticalAlignment="Center" | |
162 Data="F1 M 6.742676,3.852539 L 9.110840,1.559570 L 8.910645,0.500000 L 6.838379,0.500000 L 4.902832,2.435547 L 2.967285,0.500000 L 0.895020,0.500000 L 0.694824,1.559570 L 3.062988,3.852539 L 0.527832,6.351563 L 0.689941,7.600586 L 2.967285,7.600586 L 4.897949,5.575195 L 6.854004,7.600586 L 9.115723,7.600586 L 9.277832,6.351563 L 6.742676,3.852539 Z" | |
163 Fill="#FFFFFFFF" | |
164 Opacity="0.7" | |
165 Stretch="Fill"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
166 <Path.Stroke> |
69 | 167 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
168 <GradientStop Offset="1" Color="#FF313131" /> | |
169 <GradientStop Offset="0" Color="#FF8E9092" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
170 </LinearGradientBrush> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
171 </Path.Stroke> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
172 </Path> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
173 </Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
174 </ControlTemplate> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
175 </Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
176 </Setter> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
177 </Style> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
178 </Grid.Resources> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
179 <vsm:VisualStateManager.VisualStateGroups> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
180 <vsm:VisualStateGroup x:Name="WindowStates"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
181 <vsm:VisualState x:Name="Open"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
182 <Storyboard> |
69 | 183 <DoubleAnimationUsingKeyFrames BeginTime="0" |
184 Storyboard.TargetName="Overlay" | |
185 Storyboard.TargetProperty="Opacity"> | |
186 <EasingDoubleKeyFrame KeyTime="0" Value="0" /> | |
187 <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="1" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
188 </DoubleAnimationUsingKeyFrames> |
69 | 189 <DoubleAnimationUsingKeyFrames BeginTime="0" |
190 Storyboard.TargetName="ContentRoot" | |
191 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX"> | |
192 <SplineDoubleKeyFrame KeyTime="0" Value="0" /> | |
193 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" /> | |
194 <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" /> | |
195 <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" | |
196 KeyTime="00:00:00.45" | |
197 Value="1.05" /> | |
198 <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
199 </DoubleAnimationUsingKeyFrames> |
69 | 200 <DoubleAnimationUsingKeyFrames BeginTime="0" |
201 Storyboard.TargetName="ContentRoot" | |
202 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY"> | |
203 <SplineDoubleKeyFrame KeyTime="0" Value="0" /> | |
204 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" /> | |
205 <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" /> | |
206 <SplineDoubleKeyFrame KeySpline="0,0,0.5,1" | |
207 KeyTime="00:00:00.45" | |
208 Value="1.05" /> | |
209 <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
210 </DoubleAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
211 </Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
212 </vsm:VisualState> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
213 <vsm:VisualState x:Name="Closed"> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
214 <Storyboard> |
69 | 215 <DoubleAnimationUsingKeyFrames BeginTime="0" |
216 Storyboard.TargetName="Overlay" | |
217 Storyboard.TargetProperty="Opacity"> | |
218 <EasingDoubleKeyFrame KeyTime="0" Value="1" /> | |
219 <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="0" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
220 </DoubleAnimationUsingKeyFrames> |
69 | 221 <DoubleAnimationUsingKeyFrames BeginTime="0" |
222 Storyboard.TargetName="ContentRoot" | |
223 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX"> | |
224 <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" /> | |
225 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" /> | |
226 <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
227 </DoubleAnimationUsingKeyFrames> |
69 | 228 <DoubleAnimationUsingKeyFrames BeginTime="0" |
229 Storyboard.TargetName="ContentRoot" | |
230 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY"> | |
231 <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" /> | |
232 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" /> | |
233 <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
234 </DoubleAnimationUsingKeyFrames> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
235 </Storyboard> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
236 </vsm:VisualState> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
237 </vsm:VisualStateGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
238 </vsm:VisualStateManager.VisualStateGroups> |
69 | 239 <Grid x:Name="Overlay" |
240 Margin="0" | |
241 HorizontalAlignment="Stretch" | |
242 VerticalAlignment="Top" | |
243 Background="{TemplateBinding OverlayBrush}" | |
244 Opacity="{TemplateBinding OverlayOpacity}" /> | |
245 <Grid x:Name="ContentRoot" | |
246 Width="{TemplateBinding Width}" | |
247 Height="{TemplateBinding Height}" | |
248 HorizontalAlignment="{TemplateBinding HorizontalAlignment}" | |
249 VerticalAlignment="{TemplateBinding VerticalAlignment}" | |
250 RenderTransformOrigin="0.5,0.5"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
251 <Grid.RenderTransform> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
252 <TransformGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
253 <ScaleTransform /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
254 <SkewTransform /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
255 <RotateTransform /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
256 <TranslateTransform /> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
257 </TransformGroup> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
258 </Grid.RenderTransform> |
69 | 259 <Border Margin="-1" |
260 HorizontalAlignment="Stretch" | |
261 VerticalAlignment="Stretch" | |
262 Background="#14000000" | |
263 BorderBrush="#14000000" | |
264 BorderThickness="1" | |
265 CornerRadius="2" /> | |
266 <Border Margin="-2" | |
267 HorizontalAlignment="Stretch" | |
268 VerticalAlignment="Stretch" | |
269 Background="#0F000000" | |
270 BorderBrush="#0F000000" | |
271 BorderThickness="1" | |
272 CornerRadius="2.25" /> | |
273 <Border Margin="-3" | |
274 HorizontalAlignment="Stretch" | |
275 VerticalAlignment="Stretch" | |
276 Background="#0C000000" | |
277 BorderBrush="#0C000000" | |
278 BorderThickness="1" | |
279 CornerRadius="2.5" /> | |
280 <Border Margin="-4" | |
281 HorizontalAlignment="Stretch" | |
282 VerticalAlignment="Stretch" | |
283 Background="#0A000000" | |
284 BorderBrush="#0A000000" | |
285 BorderThickness="1" | |
286 CornerRadius="2.75" /> | |
287 <Border Background="#FFFFFFFF" | |
288 BorderBrush="{TemplateBinding BorderBrush}" | |
289 BorderThickness="{TemplateBinding BorderThickness}" | |
290 CornerRadius="2"> | |
291 <Border Margin="1" CornerRadius="1.5"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
292 <Border.Background> |
69 | 293 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
294 <GradientStop Offset="1" Color="#FFE5E8EB" /> | |
295 <GradientStop Offset="0" Color="#FFF6F8F9" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
296 </LinearGradientBrush> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
297 </Border.Background> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
298 <Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
299 <Grid.RowDefinitions> |
69 | 300 <RowDefinition Height="Auto" /> |
301 <RowDefinition /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
302 </Grid.RowDefinitions> |
69 | 303 <Border x:Name="Chrome" |
304 Width="Auto" | |
305 BorderBrush="#FFFFFFFF" | |
306 BorderThickness="0,0,0,1"> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
307 <Border.Background> |
69 | 308 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,0.528"> |
309 <GradientStop Offset="1" Color="#FFE5E8EB" /> | |
310 <GradientStop Offset="0" Color="#FFFEFEFE" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
311 </LinearGradientBrush> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
312 </Border.Background> |
69 | 313 <Grid Width="Auto" Height="Auto"> |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
314 <Grid.ColumnDefinitions> |
69 | 315 <ColumnDefinition /> |
316 <ColumnDefinition Width="30" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
317 </Grid.ColumnDefinitions> |
69 | 318 <ContentControl Margin="6,0,6,0" |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
319 HorizontalAlignment="Stretch" |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
320 VerticalAlignment="Center" |
69 | 321 Content="{TemplateBinding Title}" |
322 FontWeight="Bold" | |
323 IsTabStop="False" /> | |
324 <Button x:Name="CloseButton" | |
325 Grid.Column="1" | |
326 Width="15" | |
327 Height="14" | |
328 HorizontalAlignment="Center" | |
329 VerticalAlignment="Center" | |
330 IsTabStop="False" | |
331 Style="{StaticResource ButtonStyle}" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
332 </Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
333 </Border> |
69 | 334 <Border Grid.Row="1" |
335 Margin="7" | |
336 Background="{TemplateBinding Background}"> | |
337 <ContentPresenter x:Name="ContentPresenter" | |
338 HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | |
339 VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | |
340 Content="{TemplateBinding Content}" | |
341 ContentTemplate="{TemplateBinding ContentTemplate}" /> | |
62
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
342 </Border> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
343 </Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
344 </Border> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
345 </Border> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
346 </Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
347 </Grid> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
348 </ControlTemplate> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
349 </Setter.Value> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
350 </Setter> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
351 </Style> |
810116cd6b8e
ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
352 </ResourceDictionary> |