프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / Resources / RadConfirmStyle.xaml @ 99b9f32a

이력 | 보기 | 이력해설 | 다운로드 (18.6 KB)

1 4fcb686a taeseongkim
<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 c362d2a5 taeseongkim
    <telerik:VisualStudio2013Theme x:Key="Theme" />
7
    <SolidColorBrush x:Key="BorderLineOuterColor" Color="#26000000" />
8
    <SolidColorBrush x:Key="BorderLineInnerColor" Color="#FFFFFFFF" />
9 4fcb686a taeseongkim
    <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 c362d2a5 taeseongkim
        <Setter Property="Template">
15
            <Setter.Value>
16
                <ControlTemplate TargetType="{x:Type telerik:RadConfirm}">
17
                    <Grid x:Name="LayoutRoot">
18
                        <Grid.ColumnDefinitions>
19 4fcb686a taeseongkim
                            <ColumnDefinition Width="Auto" />
20
                            <ColumnDefinition Width="*" />
21 c362d2a5 taeseongkim
                        </Grid.ColumnDefinitions>
22
                        <Grid.RowDefinitions>
23 4fcb686a taeseongkim
                            <RowDefinition Height="*" />
24
                            <RowDefinition Height="Auto" />
25 c362d2a5 taeseongkim
                        </Grid.RowDefinitions>
26 4fcb686a taeseongkim
                        <ContentPresenter
27
                            x:Name="Icon"
28
                            Margin="16,8,8,8"
29
                            VerticalAlignment="Top"
30
                            Content="{TemplateBinding Content}">
31 c362d2a5 taeseongkim
                            <ContentPresenter.ContentTemplate>
32
                                <DataTemplate>
33 4fcb686a taeseongkim
                                    <Grid Width="44" Height="44">
34 c362d2a5 taeseongkim
                                        <Ellipse Width="44">
35
                                            <Ellipse.Fill>
36 4fcb686a taeseongkim
                                                <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 c362d2a5 taeseongkim
                                                </LinearGradientBrush>
40
                                            </Ellipse.Fill>
41
                                        </Ellipse>
42 4fcb686a taeseongkim
                                        <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 c362d2a5 taeseongkim
                                            <Path.Fill>
47 4fcb686a taeseongkim
                                                <LinearGradientBrush StartPoint="0.39,0.036" EndPoint="0.61,0.964">
48
                                                    <GradientStop Offset="0" Color="#FF1660C0" />
49
                                                    <GradientStop Offset="1" Color="#FF084EAB" />
50 c362d2a5 taeseongkim
                                                </LinearGradientBrush>
51
                                            </Path.Fill>
52
                                        </Path>
53
                                        <Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA">
54
                                            <Ellipse.OpacityMask>
55 4fcb686a taeseongkim
                                                <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 c362d2a5 taeseongkim
                                                </LinearGradientBrush>
60
                                            </Ellipse.OpacityMask>
61
                                        </Ellipse>
62 4fcb686a taeseongkim
                                        <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 c362d2a5 taeseongkim
                                        <Ellipse Width="44">
73
                                            <Ellipse.Stroke>
74 4fcb686a taeseongkim
                                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
75
                                                    <GradientStop Offset="0" Color="#FF2F6FC4" />
76
                                                    <GradientStop Offset="1" Color="#FF084FAB" />
77 c362d2a5 taeseongkim
                                                </LinearGradientBrush>
78
                                            </Ellipse.Stroke>
79
                                        </Ellipse>
80
                                    </Grid>
81
                                </DataTemplate>
82
                            </ContentPresenter.ContentTemplate>
83
                        </ContentPresenter>
84 4fcb686a taeseongkim
                        <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 c362d2a5 taeseongkim
                            <telerik:StyleManager.Theme>
92 4fcb686a taeseongkim
                                <telerik:VisualStudio2013Theme />
93 c362d2a5 taeseongkim
                            </telerik:StyleManager.Theme>
94 4fcb686a taeseongkim
                            <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 c362d2a5 taeseongkim
                        </ScrollViewer>
102 4fcb686a taeseongkim
                        <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="Ok"
122
                                telerik:RadWindow.ResponseButton="Accept"
123
                                Command="{x:Static telerik:WindowCommands.Confirm}"
124
                                Content="OK">
125 c362d2a5 taeseongkim
                                <telerik:StyleManager.Theme>
126 4fcb686a taeseongkim
                                    <telerik:VisualStudio2013Theme />
127 c362d2a5 taeseongkim
                                </telerik:StyleManager.Theme>
128
                            </telerik:RadButton>
129 4fcb686a taeseongkim
                            <telerik:RadButton
130
                                x:Name="NO"
131
                                MinWidth="100"
132
                                Margin="0,10,8,8"
133
                                telerik:LocalizationManager.ResourceKey="Cancel"
134
                                Command="{x:Static telerik:WindowCommands.Cancel}"
135
                                Content="NO">
136 c362d2a5 taeseongkim
                                <telerik:StyleManager.Theme>
137 4fcb686a taeseongkim
                                    <telerik:VisualStudio2013Theme />
138 c362d2a5 taeseongkim
                                </telerik:StyleManager.Theme>
139
                            </telerik:RadButton>
140 4fcb686a taeseongkim
                            <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 c362d2a5 taeseongkim
                                <telerik:StyleManager.Theme>
148 4fcb686a taeseongkim
                                    <telerik:VisualStudio2013Theme />
149 c362d2a5 taeseongkim
                                </telerik:StyleManager.Theme>
150
                            </telerik:RadButton>
151
                        </StackPanel>
152
                    </Grid>
153
                </ControlTemplate>
154
            </Setter.Value>
155
        </Setter>
156
    </Style>
157 4fcb686a taeseongkim
    <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 bae83c92 taeseongkim
        <Setter Property="Template">
163
            <Setter.Value>
164
                <ControlTemplate TargetType="{x:Type telerik:RadConfirm}">
165
                    <Grid x:Name="LayoutRoot">
166
                        <Grid.ColumnDefinitions>
167 4fcb686a taeseongkim
                            <ColumnDefinition Width="Auto" />
168
                            <ColumnDefinition Width="*" />
169 bae83c92 taeseongkim
                        </Grid.ColumnDefinitions>
170
                        <Grid.RowDefinitions>
171 4fcb686a taeseongkim
                            <RowDefinition Height="*" />
172
                            <RowDefinition Height="Auto" />
173 bae83c92 taeseongkim
                        </Grid.RowDefinitions>
174 4fcb686a taeseongkim
                        <ContentPresenter
175
                            x:Name="Icon"
176
                            Margin="16,8,8,8"
177
                            VerticalAlignment="Top"
178
                            Content="{TemplateBinding Content}">
179 bae83c92 taeseongkim
                            <ContentPresenter.ContentTemplate>
180
                                <DataTemplate>
181 4fcb686a taeseongkim
                                    <Grid Width="44" Height="44">
182 bae83c92 taeseongkim
                                        <Ellipse Width="44">
183
                                            <Ellipse.Fill>
184 4fcb686a taeseongkim
                                                <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 bae83c92 taeseongkim
                                                </LinearGradientBrush>
188
                                            </Ellipse.Fill>
189
                                        </Ellipse>
190 4fcb686a taeseongkim
                                        <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 bae83c92 taeseongkim
                                            <Path.Fill>
195 4fcb686a taeseongkim
                                                <LinearGradientBrush StartPoint="0.39,0.036" EndPoint="0.61,0.964">
196
                                                    <GradientStop Offset="0" Color="#FF1660C0" />
197
                                                    <GradientStop Offset="1" Color="#FF084EAB" />
198 bae83c92 taeseongkim
                                                </LinearGradientBrush>
199
                                            </Path.Fill>
200
                                        </Path>
201
                                        <Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA">
202
                                            <Ellipse.OpacityMask>
203 4fcb686a taeseongkim
                                                <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 bae83c92 taeseongkim
                                                </LinearGradientBrush>
208
                                            </Ellipse.OpacityMask>
209
                                        </Ellipse>
210 4fcb686a taeseongkim
                                        <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 bae83c92 taeseongkim
                                        <Ellipse Width="44">
221
                                            <Ellipse.Stroke>
222 4fcb686a taeseongkim
                                                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
223
                                                    <GradientStop Offset="0" Color="#FF2F6FC4" />
224
                                                    <GradientStop Offset="1" Color="#FF084FAB" />
225 bae83c92 taeseongkim
                                                </LinearGradientBrush>
226
                                            </Ellipse.Stroke>
227
                                        </Ellipse>
228
                                    </Grid>
229
                                </DataTemplate>
230
                            </ContentPresenter.ContentTemplate>
231
                        </ContentPresenter>
232 4fcb686a taeseongkim
                        <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 bae83c92 taeseongkim
                            <telerik:StyleManager.Theme>
240 4fcb686a taeseongkim
                                <telerik:VisualStudio2013Theme />
241 bae83c92 taeseongkim
                            </telerik:StyleManager.Theme>
242 4fcb686a taeseongkim
                            <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 bae83c92 taeseongkim
                        </ScrollViewer>
250 4fcb686a taeseongkim
                        <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="Ok"
270
                                telerik:RadWindow.ResponseButton="Accept"
271
                                Command="{x:Static telerik:WindowCommands.Confirm}"
272
                                Content="OK">
273 bae83c92 taeseongkim
                                <telerik:StyleManager.Theme>
274 4fcb686a taeseongkim
                                    <telerik:VisualStudio2013Theme />
275 bae83c92 taeseongkim
                                </telerik:StyleManager.Theme>
276
                            </telerik:RadButton>
277 4fcb686a taeseongkim
                            <telerik:RadButton
278
                                x:Name="Cancel"
279
                                MinWidth="100"
280
                                Margin="0,10,8,8"
281
                                telerik:LocalizationManager.ResourceKey="Close"
282
                                Command="{x:Static telerik:WindowCommands.Close}"
283
                                Content="Cancel">
284 bae83c92 taeseongkim
                                <telerik:StyleManager.Theme>
285 4fcb686a taeseongkim
                                    <telerik:VisualStudio2013Theme />
286 bae83c92 taeseongkim
                                </telerik:StyleManager.Theme>
287
                            </telerik:RadButton>
288
                        </StackPanel>
289
                    </Grid>
290
                </ControlTemplate>
291
            </Setter.Value>
292
        </Setter>
293
    </Style>
294 c362d2a5 taeseongkim
</ResourceDictionary>
클립보드 이미지 추가 (최대 크기: 500 MB)