annotate SilverlightGlimpse/FloatableWindow/themes/generic.xaml @ 77:86ed4919b126

Working version!
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 22:06:05 +0100
parents a0bcd783e612
children
rev   line source
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
1 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
3 xmlns:controls="clr-namespace:System.Windows.Controls"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
7 <Setter Property="IsTabStop" Value="false" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
8 <Setter Property="TabNavigation" Value="Cycle" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
9 <Setter Property="HorizontalAlignment" Value="Center" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
10 <Setter Property="VerticalAlignment" Value="Center" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
11 <Setter Property="HorizontalContentAlignment" Value="Stretch" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
12 <Setter Property="VerticalContentAlignment" Value="Stretch" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
17 <GradientStop Offset="0" Color="#FFA3AEB9" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
18 <GradientStop Offset="0.375" Color="#FF8399A9" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
19 <GradientStop Offset="0.375" Color="#FF718597" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
36 <Setter Property="Background" Value="#FF1F3B53" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
37 <Setter Property="Foreground" Value="#FF000000" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
38 <Setter Property="Padding" Value="3" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
42 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
43 <GradientStop Offset="0" Color="#FFA3AEB9" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
44 <GradientStop Offset="0.375" Color="#FF8399A9" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
45 <GradientStop Offset="0.375" Color="#FF718597" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
53 <Grid x:Name="grid"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
54 Width="15"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
55 Height="14"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
56 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
57 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
73 <DoubleAnimation Duration="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
74 Storyboard.TargetName="X"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
75 Storyboard.TargetProperty="Opacity"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
81 <DoubleAnimation Duration="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
82 Storyboard.TargetName="X"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
83 Storyboard.TargetProperty="Opacity"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
98 <DoubleAnimation Duration="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
99 Storyboard.TargetName="X"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
100 Storyboard.TargetProperty="Opacity"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
106 <Path x:Name="X_Fuzz2"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
107 Width="9"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
108 Height="8"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
109 Margin="0,-1,0,0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
110 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
111 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
113 Fill="#14C51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
114 Opacity="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
115 RenderTransformOrigin="0.5,0.5"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
116 Stretch="Fill"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
117 Stroke="#14C51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
125 <Path x:Name="X_Fuzz1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
126 Width="9"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
127 Height="8"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
128 Margin="0,-1,0,0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
129 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
130 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
132 Fill="#1EC51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
133 Opacity="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
134 RenderTransformOrigin="0.5,0.5"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
135 Stretch="Fill"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
136 Stroke="#1EC51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
144 <Path x:Name="X_Fuzz0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
145 Width="9"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
146 Height="8"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
147 Margin="0,-1,0,0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
148 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
149 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
151 Fill="#FFC51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
152 Opacity="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
153 Stretch="Fill"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
154 Stroke="#FFC51900"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
155 Visibility="Collapsed" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
156 <Path x:Name="X"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
157 Width="9"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
158 Height="8"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
159 Margin="0,-1,0,0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
160 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
161 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
163 Fill="#FFFFFFFF"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
164 Opacity="0.7"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
165 Stretch="Fill">
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
166 <Path.Stroke>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
167 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
168 <GradientStop Offset="1" Color="#FF313131" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
183 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
184 Storyboard.TargetName="Overlay"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
185 Storyboard.TargetProperty="Opacity">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
186 <EasingDoubleKeyFrame KeyTime="0" Value="0" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
187 <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="1" />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
188 </DoubleAnimationUsingKeyFrames>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
189 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
190 Storyboard.TargetName="ContentRoot"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
191 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
192 <SplineDoubleKeyFrame KeyTime="0" Value="0" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
193 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
194 <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
195 <SplineDoubleKeyFrame KeySpline="0,0,0.5,1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
196 KeyTime="00:00:00.45"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
197 Value="1.05" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
198 <SplineDoubleKeyFrame KeyTime="00:00:00.55" Value="1" />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
199 </DoubleAnimationUsingKeyFrames>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
200 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
201 Storyboard.TargetName="ContentRoot"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
202 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
203 <SplineDoubleKeyFrame KeyTime="0" Value="0" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
204 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="0" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
205 <SplineDoubleKeyFrame KeyTime="00:00:00.4" Value="1" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
206 <SplineDoubleKeyFrame KeySpline="0,0,0.5,1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
207 KeyTime="00:00:00.45"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
208 Value="1.05" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
215 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
216 Storyboard.TargetName="Overlay"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
217 Storyboard.TargetProperty="Opacity">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
218 <EasingDoubleKeyFrame KeyTime="0" Value="1" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
219 <EasingDoubleKeyFrame KeyTime="00:00:00.3" Value="0" />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
220 </DoubleAnimationUsingKeyFrames>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
221 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
222 Storyboard.TargetName="ContentRoot"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
223 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleX">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
224 <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
225 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
226 <SplineDoubleKeyFrame KeyTime="00:00:00.45" Value="0" />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
227 </DoubleAnimationUsingKeyFrames>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
228 <DoubleAnimationUsingKeyFrames BeginTime="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
229 Storyboard.TargetName="ContentRoot"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
230 Storyboard.TargetProperty="(RenderTransform).(Children)[0].ScaleY">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
231 <SplineDoubleKeyFrame KeyTime="00:00:00.2" Value="1" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
232 <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="1.05" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
239 <Grid x:Name="Overlay"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
240 Margin="0"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
241 HorizontalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
242 VerticalAlignment="Top"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
243 Background="{TemplateBinding OverlayBrush}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
244 Opacity="{TemplateBinding OverlayOpacity}" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
245 <Grid x:Name="ContentRoot"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
246 Width="{TemplateBinding Width}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
247 Height="{TemplateBinding Height}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
248 HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
249 VerticalAlignment="{TemplateBinding VerticalAlignment}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
259 <Border Margin="-1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
260 HorizontalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
261 VerticalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
262 Background="#14000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
263 BorderBrush="#14000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
264 BorderThickness="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
265 CornerRadius="2" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
266 <Border Margin="-2"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
267 HorizontalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
268 VerticalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
269 Background="#0F000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
270 BorderBrush="#0F000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
271 BorderThickness="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
272 CornerRadius="2.25" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
273 <Border Margin="-3"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
274 HorizontalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
275 VerticalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
276 Background="#0C000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
277 BorderBrush="#0C000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
278 BorderThickness="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
279 CornerRadius="2.5" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
280 <Border Margin="-4"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
281 HorizontalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
282 VerticalAlignment="Stretch"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
283 Background="#0A000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
284 BorderBrush="#0A000000"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
285 BorderThickness="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
286 CornerRadius="2.75" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
287 <Border Background="#FFFFFFFF"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
288 BorderBrush="{TemplateBinding BorderBrush}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
289 BorderThickness="{TemplateBinding BorderThickness}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
290 CornerRadius="2">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
291 <Border Margin="1" CornerRadius="1.5">
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
292 <Border.Background>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
293 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
294 <GradientStop Offset="1" Color="#FFE5E8EB" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
300 <RowDefinition Height="Auto" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
301 <RowDefinition />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
302 </Grid.RowDefinitions>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
303 <Border x:Name="Chrome"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
304 Width="Auto"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
305 BorderBrush="#FFFFFFFF"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
306 BorderThickness="0,0,0,1">
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
307 <Border.Background>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
308 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,0.528">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
309 <GradientStop Offset="1" Color="#FFE5E8EB" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
313 <Grid Width="Auto" Height="Auto">
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
314 <Grid.ColumnDefinitions>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
315 <ColumnDefinition />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
316 <ColumnDefinition Width="30" />
62
810116cd6b8e ErrorWindow working
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff changeset
317 </Grid.ColumnDefinitions>
69
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
321 Content="{TemplateBinding Title}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
322 FontWeight="Bold"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
323 IsTabStop="False" />
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
324 <Button x:Name="CloseButton"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
325 Grid.Column="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
326 Width="15"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
327 Height="14"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
328 HorizontalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
329 VerticalAlignment="Center"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
330 IsTabStop="False"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
334 <Border Grid.Row="1"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
335 Margin="7"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
336 Background="{TemplateBinding Background}">
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
337 <ContentPresenter x:Name="ContentPresenter"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
338 HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
339 VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
340 Content="{TemplateBinding Content}"
a0bcd783e612 Latest work
Steven Hollidge <stevenhollidge@hotmail.com>
parents: 62
diff changeset
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>