markus / KCOM / Resources / RadConfirmStyle.xaml @ master
이력 | 보기 | 이력해설 | 다운로드 (18.6 KB)
1 |
<ResourceDictionary
|
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> |
5 |
<!-- telerikNavigation:RadConfirm -->
|
6 |
<telerik:VisualStudio2013Theme x:Key="Theme" /> |
7 |
<SolidColorBrush x:Key="BorderLineOuterColor" Color="#26000000" /> |
8 |
<SolidColorBrush x:Key="BorderLineInnerColor" Color="#FFFFFFFF" /> |
9 |
<Style x:Key="RadConfirmYNCStyle" TargetType="telerik:RadConfirm"> |
10 |
<Setter Property="IsTabStop" Value="False" /> |
11 |
<Setter Property="MinWidth" Value="275" /> |
12 |
<Setter Property="MaxWidth" Value="500" /> |
13 |
<Setter Property="SnapsToDevicePixels" Value="True" /> |
14 |
<Setter Property="Template"> |
15 |
<Setter.Value>
|
16 |
<ControlTemplate TargetType="{x:Type telerik:RadConfirm}"> |
17 |
<Grid x:Name="LayoutRoot"> |
18 |
<Grid.ColumnDefinitions>
|
19 |
<ColumnDefinition Width="Auto" /> |
20 |
<ColumnDefinition Width="*" /> |
21 |
</Grid.ColumnDefinitions>
|
22 |
<Grid.RowDefinitions>
|
23 |
<RowDefinition Height="*" /> |
24 |
<RowDefinition Height="Auto" /> |
25 |
</Grid.RowDefinitions>
|
26 |
<ContentPresenter
|
27 |
x:Name="Icon" |
28 |
Margin="16,8,8,8" |
29 |
VerticalAlignment="Top" |
30 |
Content="{TemplateBinding Content}"> |
31 |
<ContentPresenter.ContentTemplate>
|
32 |
<DataTemplate>
|
33 |
<Grid Width="44" Height="44"> |
34 |
<Ellipse Width="44"> |
35 |
<Ellipse.Fill>
|
36 |
<LinearGradientBrush StartPoint="0.282,0.05" EndPoint="0.718,0.95"> |
37 |
<GradientStop Offset="0.107" Color="#FF67A1F4" /> |
38 |
<GradientStop Offset="0.691" Color="#FF1660C0" /> |
39 |
</LinearGradientBrush>
|
40 |
</Ellipse.Fill>
|
41 |
</Ellipse>
|
42 |
<Path
|
43 |
Margin="1.512,16.495,0.765,0.399" |
44 |
Data="M289.00311,92.619354C289.00311,92.619354 299.31836,80.597733 329.41049,81.075485 329.88766,81.083061 332.65619,107.10075 308.88998,107.10075 296.08267,107.10075 289.00311,92.619354 289.00311,92.619354z" |
45 |
Stretch="Fill"> |
46 |
<Path.Fill>
|
47 |
<LinearGradientBrush StartPoint="0.39,0.036" EndPoint="0.61,0.964"> |
48 |
<GradientStop Offset="0" Color="#FF1660C0" /> |
49 |
<GradientStop Offset="1" Color="#FF084EAB" /> |
50 |
</LinearGradientBrush>
|
51 |
</Path.Fill>
|
52 |
</Path>
|
53 |
<Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA"> |
54 |
<Ellipse.OpacityMask>
|
55 |
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
56 |
<GradientStop Offset="0" Color="#7C1D99EC" /> |
57 |
<GradientStop Offset="1" Color="#7EAFDDFC" /> |
58 |
<GradientStop Offset="0.382" Color="#C45EB6F1" /> |
59 |
</LinearGradientBrush>
|
60 |
</Ellipse.OpacityMask>
|
61 |
</Ellipse>
|
62 |
<Path
|
63 |
Margin="13.257,6.592,12.036,15.073" |
64 |
Data="M300.16647,72.508377L300.20032,76.801308C300.20032,76.801308 303.76443,74.208626 308.57635,75.053101 312.64224,75.766647 312.37244,80.342621 311.28177,81.957657 307.64908,87.336853 306.09219,88.091827 306.09219,89.696152 306.09219,91.561272 306.08142,92.930161 306.08142,92.930161L311.46021,92.930161 311.46597,89.720444C311.46597,89.720444 312.49261,89.006256 315.2182,85.837914 316.81396,83.982925 318.0397,81.959572 318.45352,80.790619 319.04788,79.111671 319.7117,74.514389 315.04593,72.119629 313.44992,71.300461 311.46005,70.473305 307.15707,70.607811 302.8541,70.742317 300.16647,72.508377 300.16647,72.508377z" |
65 |
Fill="White" |
66 |
Stretch="Fill" /> |
67 |
<Rectangle
|
68 |
Height="6" |
69 |
Margin="19,0,19,6" |
70 |
VerticalAlignment="Bottom" |
71 |
Fill="White" /> |
72 |
<Ellipse Width="44"> |
73 |
<Ellipse.Stroke>
|
74 |
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
75 |
<GradientStop Offset="0" Color="#FF2F6FC4" /> |
76 |
<GradientStop Offset="1" Color="#FF084FAB" /> |
77 |
</LinearGradientBrush>
|
78 |
</Ellipse.Stroke>
|
79 |
</Ellipse>
|
80 |
</Grid>
|
81 |
</DataTemplate>
|
82 |
</ContentPresenter.ContentTemplate>
|
83 |
</ContentPresenter>
|
84 |
<ScrollViewer
|
85 |
Grid.Row="0" |
86 |
Grid.Column="1" |
87 |
Margin="0,0,0,8" |
88 |
BorderBrush="{x:Null}" |
89 |
HorizontalScrollBarVisibility="Auto" |
90 |
VerticalScrollBarVisibility="Auto"> |
91 |
<telerik:StyleManager.Theme>
|
92 |
<telerik:VisualStudio2013Theme /> |
93 |
</telerik:StyleManager.Theme>
|
94 |
<ContentPresenter
|
95 |
x:Name="ConfirmText" |
96 |
Margin="8,8,8,0" |
97 |
VerticalAlignment="Center" |
98 |
Content="{TemplateBinding Content}" |
99 |
ContentStringFormat="{TemplateBinding ContentStringFormat}" |
100 |
ContentTemplate="{TemplateBinding ContentTemplate}" /> |
101 |
</ScrollViewer>
|
102 |
<Border
|
103 |
x:Name="HorizontalRule" |
104 |
Grid.Row="1" |
105 |
Grid.ColumnSpan="2" |
106 |
Height="2" |
107 |
VerticalAlignment="Top" |
108 |
Background="#26000000" |
109 |
BorderBrush="White" |
110 |
BorderThickness="0,0,0,1" /> |
111 |
<StackPanel
|
112 |
x:Name="DialogButtons" |
113 |
Grid.Row="2" |
114 |
Grid.ColumnSpan="2" |
115 |
HorizontalAlignment="Right" |
116 |
Orientation="Horizontal"> |
117 |
<telerik:RadButton
|
118 |
x:Name="OK" |
119 |
MinWidth="100" |
120 |
Margin="0,10,8,8" |
121 |
telerik:LocalizationManager.ResourceKey="Yes" |
122 |
telerik:RadWindow.ResponseButton="Accept" |
123 |
Command="{x:Static telerik:WindowCommands.Confirm}" |
124 |
Content="OK"> |
125 |
<telerik:StyleManager.Theme>
|
126 |
<telerik:VisualStudio2013Theme /> |
127 |
</telerik:StyleManager.Theme>
|
128 |
</telerik:RadButton>
|
129 |
<telerik:RadButton
|
130 |
x:Name="NO" |
131 |
MinWidth="100" |
132 |
Margin="0,10,8,8" |
133 |
telerik:LocalizationManager.ResourceKey="No" |
134 |
Command="{x:Static telerik:WindowCommands.Cancel}" |
135 |
Content="NO"> |
136 |
<telerik:StyleManager.Theme>
|
137 |
<telerik:VisualStudio2013Theme /> |
138 |
</telerik:StyleManager.Theme>
|
139 |
</telerik:RadButton>
|
140 |
<!--<telerik:RadButton
|
141 |
x:Name="Cancel"
|
142 |
MinWidth="100"
|
143 |
Margin="0,10,8,8"
|
144 |
telerik:LocalizationManager.ResourceKey="Close"
|
145 |
Command="{x:Static telerik:WindowCommands.Close}"
|
146 |
Content="Cancel">
|
147 |
<telerik:StyleManager.Theme>
|
148 |
<telerik:VisualStudio2013Theme />
|
149 |
</telerik:StyleManager.Theme>
|
150 |
</telerik:RadButton>-->
|
151 |
</StackPanel>
|
152 |
</Grid>
|
153 |
</ControlTemplate>
|
154 |
</Setter.Value>
|
155 |
</Setter>
|
156 |
</Style>
|
157 |
<Style x:Key="RadConfirmYCStyle" TargetType="telerik:RadConfirm"> |
158 |
<Setter Property="IsTabStop" Value="False" /> |
159 |
<Setter Property="MinWidth" Value="275" /> |
160 |
<Setter Property="MaxWidth" Value="500" /> |
161 |
<Setter Property="SnapsToDevicePixels" Value="True" /> |
162 |
<Setter Property="Template"> |
163 |
<Setter.Value>
|
164 |
<ControlTemplate TargetType="{x:Type telerik:RadConfirm}"> |
165 |
<Grid x:Name="LayoutRoot"> |
166 |
<Grid.ColumnDefinitions>
|
167 |
<ColumnDefinition Width="Auto" /> |
168 |
<ColumnDefinition Width="*" /> |
169 |
</Grid.ColumnDefinitions>
|
170 |
<Grid.RowDefinitions>
|
171 |
<RowDefinition Height="*" /> |
172 |
<RowDefinition Height="Auto" /> |
173 |
</Grid.RowDefinitions>
|
174 |
<ContentPresenter
|
175 |
x:Name="Icon" |
176 |
Margin="16,8,8,8" |
177 |
VerticalAlignment="Top" |
178 |
Content="{TemplateBinding Content}"> |
179 |
<ContentPresenter.ContentTemplate>
|
180 |
<DataTemplate>
|
181 |
<Grid Width="44" Height="44"> |
182 |
<Ellipse Width="44"> |
183 |
<Ellipse.Fill>
|
184 |
<LinearGradientBrush StartPoint="0.282,0.05" EndPoint="0.718,0.95"> |
185 |
<GradientStop Offset="0.107" Color="#FF67A1F4" /> |
186 |
<GradientStop Offset="0.691" Color="#FF1660C0" /> |
187 |
</LinearGradientBrush>
|
188 |
</Ellipse.Fill>
|
189 |
</Ellipse>
|
190 |
<Path
|
191 |
Margin="1.512,16.495,0.765,0.399" |
192 |
Data="M289.00311,92.619354C289.00311,92.619354 299.31836,80.597733 329.41049,81.075485 329.88766,81.083061 332.65619,107.10075 308.88998,107.10075 296.08267,107.10075 289.00311,92.619354 289.00311,92.619354z" |
193 |
Stretch="Fill"> |
194 |
<Path.Fill>
|
195 |
<LinearGradientBrush StartPoint="0.39,0.036" EndPoint="0.61,0.964"> |
196 |
<GradientStop Offset="0" Color="#FF1660C0" /> |
197 |
<GradientStop Offset="1" Color="#FF084EAB" /> |
198 |
</LinearGradientBrush>
|
199 |
</Path.Fill>
|
200 |
</Path>
|
201 |
<Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA"> |
202 |
<Ellipse.OpacityMask>
|
203 |
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
204 |
<GradientStop Offset="0" Color="#7C1D99EC" /> |
205 |
<GradientStop Offset="1" Color="#7EAFDDFC" /> |
206 |
<GradientStop Offset="0.382" Color="#C45EB6F1" /> |
207 |
</LinearGradientBrush>
|
208 |
</Ellipse.OpacityMask>
|
209 |
</Ellipse>
|
210 |
<Path
|
211 |
Margin="13.257,6.592,12.036,15.073" |
212 |
Data="M300.16647,72.508377L300.20032,76.801308C300.20032,76.801308 303.76443,74.208626 308.57635,75.053101 312.64224,75.766647 312.37244,80.342621 311.28177,81.957657 307.64908,87.336853 306.09219,88.091827 306.09219,89.696152 306.09219,91.561272 306.08142,92.930161 306.08142,92.930161L311.46021,92.930161 311.46597,89.720444C311.46597,89.720444 312.49261,89.006256 315.2182,85.837914 316.81396,83.982925 318.0397,81.959572 318.45352,80.790619 319.04788,79.111671 319.7117,74.514389 315.04593,72.119629 313.44992,71.300461 311.46005,70.473305 307.15707,70.607811 302.8541,70.742317 300.16647,72.508377 300.16647,72.508377z" |
213 |
Fill="White" |
214 |
Stretch="Fill" /> |
215 |
<Rectangle
|
216 |
Height="6" |
217 |
Margin="19,0,19,6" |
218 |
VerticalAlignment="Bottom" |
219 |
Fill="White" /> |
220 |
<Ellipse Width="44"> |
221 |
<Ellipse.Stroke>
|
222 |
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> |
223 |
<GradientStop Offset="0" Color="#FF2F6FC4" /> |
224 |
<GradientStop Offset="1" Color="#FF084FAB" /> |
225 |
</LinearGradientBrush>
|
226 |
</Ellipse.Stroke>
|
227 |
</Ellipse>
|
228 |
</Grid>
|
229 |
</DataTemplate>
|
230 |
</ContentPresenter.ContentTemplate>
|
231 |
</ContentPresenter>
|
232 |
<ScrollViewer
|
233 |
Grid.Row="0" |
234 |
Grid.Column="1" |
235 |
Margin="0,0,0,8" |
236 |
BorderBrush="{x:Null}" |
237 |
HorizontalScrollBarVisibility="Auto" |
238 |
VerticalScrollBarVisibility="Auto"> |
239 |
<telerik:StyleManager.Theme>
|
240 |
<telerik:VisualStudio2013Theme /> |
241 |
</telerik:StyleManager.Theme>
|
242 |
<ContentPresenter
|
243 |
x:Name="ConfirmText" |
244 |
Margin="8,8,8,0" |
245 |
VerticalAlignment="Center" |
246 |
Content="{TemplateBinding Content}" |
247 |
ContentStringFormat="{TemplateBinding ContentStringFormat}" |
248 |
ContentTemplate="{TemplateBinding ContentTemplate}" /> |
249 |
</ScrollViewer>
|
250 |
<Border
|
251 |
x:Name="HorizontalRule" |
252 |
Grid.Row="1" |
253 |
Grid.ColumnSpan="2" |
254 |
Height="2" |
255 |
VerticalAlignment="Top" |
256 |
Background="#26000000" |
257 |
BorderBrush="White" |
258 |
BorderThickness="0,0,0,1" /> |
259 |
<StackPanel
|
260 |
x:Name="DialogButtons" |
261 |
Grid.Row="2" |
262 |
Grid.ColumnSpan="2" |
263 |
HorizontalAlignment="Right" |
264 |
Orientation="Horizontal"> |
265 |
<telerik:RadButton
|
266 |
x:Name="OK" |
267 |
MinWidth="100" |
268 |
Margin="0,10,8,8" |
269 |
telerik:LocalizationManager.ResourceKey="Yes" |
270 |
telerik:RadWindow.ResponseButton="Accept" |
271 |
Command="{x:Static telerik:WindowCommands.Confirm}" |
272 |
Content="OK"> |
273 |
<telerik:StyleManager.Theme>
|
274 |
<telerik:VisualStudio2013Theme /> |
275 |
</telerik:StyleManager.Theme>
|
276 |
</telerik:RadButton>
|
277 |
<telerik:RadButton
|
278 |
x:Name="Cancel" |
279 |
MinWidth="100" |
280 |
Margin="0,10,8,8" |
281 |
telerik:LocalizationManager.ResourceKey="No" |
282 |
Command="{x:Static telerik:WindowCommands.Cancel}" |
283 |
Content="Cancel"> |
284 |
<telerik:StyleManager.Theme>
|
285 |
<telerik:VisualStudio2013Theme /> |
286 |
</telerik:StyleManager.Theme>
|
287 |
</telerik:RadButton>
|
288 |
</StackPanel>
|
289 |
</Grid>
|
290 |
</ControlTemplate>
|
291 |
</Setter.Value>
|
292 |
</Setter>
|
293 |
</Style>
|
294 |
</ResourceDictionary>
|