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