프로젝트

일반

사용자정보

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

markus / KCOM / Resources / RadConfirmStyle.xaml @ 74abcf6f

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

1 c362d2a5 taeseongkim
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
                    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
3
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4
    <!-- telerikNavigation:RadConfirm -->
5
    <telerik:VisualStudio2013Theme x:Key="Theme" />
6
    <SolidColorBrush x:Key="BorderLineOuterColor" Color="#26000000" />
7
    <SolidColorBrush x:Key="BorderLineInnerColor" Color="#FFFFFFFF" />
8
    <Style TargetType="telerik:RadConfirm" x:Key="RadConfirmYNCStyle">
9
        <Setter Property="IsTabStop" Value="False"/>
10
        <Setter Property="MinWidth" Value="275"/>
11
        <Setter Property="MaxWidth" Value="500"/>
12
        <Setter Property="SnapsToDevicePixels" Value="True"/>
13
        <Setter Property="Template">
14
            <Setter.Value>
15
                <ControlTemplate TargetType="{x:Type telerik:RadConfirm}">
16
                    <Grid x:Name="LayoutRoot">
17
                        <Grid.ColumnDefinitions>
18
                            <ColumnDefinition Width="Auto"/>
19
                            <ColumnDefinition Width="*"/>
20
                        </Grid.ColumnDefinitions>
21
                        <Grid.RowDefinitions>
22
                            <RowDefinition Height="*"/>
23
                            <RowDefinition Height="Auto"/>
24
                        </Grid.RowDefinitions>
25
                        <ContentPresenter x:Name="Icon" Content="{TemplateBinding Content}" Margin="16,8,8,8" VerticalAlignment="Top">
26
                            <ContentPresenter.ContentTemplate>
27
                                <DataTemplate>
28
                                    <Grid Height="44" Width="44">
29
                                        <Ellipse Width="44">
30
                                            <Ellipse.Fill>
31
                                                <LinearGradientBrush EndPoint="0.718,0.95" StartPoint="0.282,0.05">
32
                                                    <GradientStop Color="#FF67A1F4" Offset="0.107"/>
33
                                                    <GradientStop Color="#FF1660C0" Offset="0.691"/>
34
                                                </LinearGradientBrush>
35
                                            </Ellipse.Fill>
36
                                        </Ellipse>
37
                                        <Path 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" Margin="1.512,16.495,0.765,0.399" Stretch="Fill">
38
                                            <Path.Fill>
39
                                                <LinearGradientBrush EndPoint="0.61,0.964" StartPoint="0.39,0.036">
40
                                                    <GradientStop Color="#FF1660C0" Offset="0"/>
41
                                                    <GradientStop Color="#FF084EAB" Offset="1"/>
42
                                                </LinearGradientBrush>
43
                                            </Path.Fill>
44
                                        </Path>
45
                                        <Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA">
46
                                            <Ellipse.OpacityMask>
47
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
48
                                                    <GradientStop Color="#7C1D99EC" Offset="0"/>
49
                                                    <GradientStop Color="#7EAFDDFC" Offset="1"/>
50
                                                    <GradientStop Color="#C45EB6F1" Offset="0.382"/>
51
                                                </LinearGradientBrush>
52
                                            </Ellipse.OpacityMask>
53
                                        </Ellipse>
54
                                        <Path 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" Fill="White" Margin="13.257,6.592,12.036,15.073" Stretch="Fill"/>
55
                                        <Rectangle Fill="White" Height="6" Margin="19,0,19,6" VerticalAlignment="Bottom"/>
56
                                        <Ellipse Width="44">
57
                                            <Ellipse.Stroke>
58
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
59
                                                    <GradientStop Color="#FF2F6FC4" Offset="0"/>
60
                                                    <GradientStop Color="#FF084FAB" Offset="1"/>
61
                                                </LinearGradientBrush>
62
                                            </Ellipse.Stroke>
63
                                        </Ellipse>
64
                                    </Grid>
65
                                </DataTemplate>
66
                            </ContentPresenter.ContentTemplate>
67
                        </ContentPresenter>
68
                        <ScrollViewer Grid.Column="1" HorizontalScrollBarVisibility="Auto" Margin="0,0,0,8" Grid.Row="0" VerticalScrollBarVisibility="Auto" BorderBrush="{x:Null}">
69
                            <telerik:StyleManager.Theme>
70
                                <telerik:VisualStudio2013Theme/>
71
                            </telerik:StyleManager.Theme>
72
                            <ContentPresenter x:Name="ConfirmText" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" Margin="8,8,8,0" VerticalAlignment="Center"/>
73
                        </ScrollViewer>
74
                        <Border x:Name="HorizontalRule" BorderBrush="White" BorderThickness="0,0,0,1" Background="#26000000" Grid.ColumnSpan="2" Height="2" Grid.Row="1" VerticalAlignment="Top"/>
75
                        <StackPanel x:Name="DialogButtons" Grid.ColumnSpan="2" HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="2">
76
                            <telerik:RadButton x:Name="OK" Content="OK" Margin="0,10,8,8" 
77
                                                                MinWidth="100" telerik:LocalizationManager.ResourceKey="Ok"  Command="{x:Static telerik:WindowCommands.Confirm}" telerik:RadWindow.ResponseButton="Accept">
78
                                <telerik:StyleManager.Theme>
79
                                    <telerik:VisualStudio2013Theme/>
80
                                </telerik:StyleManager.Theme>
81
                            </telerik:RadButton>
82
                            <telerik:RadButton x:Name="NO" Content="NO" Margin="0,10,8,8" MinWidth="100" telerik:LocalizationManager.ResourceKey="Cancel"  Command="{x:Static telerik:WindowCommands.Cancel}" >
83
                                <telerik:StyleManager.Theme>
84
                                    <telerik:VisualStudio2013Theme/>
85
                                </telerik:StyleManager.Theme>
86
                            </telerik:RadButton>
87
                            <telerik:RadButton x:Name="Cancel" Content="Cancel" Margin="0,10,8,8" MinWidth="100" telerik:LocalizationManager.ResourceKey="Close"  Command="{x:Static telerik:WindowCommands.Close}" >
88
                                <telerik:StyleManager.Theme>
89
                                    <telerik:VisualStudio2013Theme/>
90
                                </telerik:StyleManager.Theme>
91
                            </telerik:RadButton>
92
                        </StackPanel>
93
                    </Grid>
94
                </ControlTemplate>
95
            </Setter.Value>
96
        </Setter>
97
    </Style>
98 bae83c92 taeseongkim
    <Style TargetType="telerik:RadConfirm" x:Key="RadConfirmYCStyle">
99
        <Setter Property="IsTabStop" Value="False"/>
100
        <Setter Property="MinWidth" Value="275"/>
101
        <Setter Property="MaxWidth" Value="500"/>
102
        <Setter Property="SnapsToDevicePixels" Value="True"/>
103
        <Setter Property="Template">
104
            <Setter.Value>
105
                <ControlTemplate TargetType="{x:Type telerik:RadConfirm}">
106
                    <Grid x:Name="LayoutRoot">
107
                        <Grid.ColumnDefinitions>
108
                            <ColumnDefinition Width="Auto"/>
109
                            <ColumnDefinition Width="*"/>
110
                        </Grid.ColumnDefinitions>
111
                        <Grid.RowDefinitions>
112
                            <RowDefinition Height="*"/>
113
                            <RowDefinition Height="Auto"/>
114
                        </Grid.RowDefinitions>
115
                        <ContentPresenter x:Name="Icon" Content="{TemplateBinding Content}" Margin="16,8,8,8" VerticalAlignment="Top">
116
                            <ContentPresenter.ContentTemplate>
117
                                <DataTemplate>
118
                                    <Grid Height="44" Width="44">
119
                                        <Ellipse Width="44">
120
                                            <Ellipse.Fill>
121
                                                <LinearGradientBrush EndPoint="0.718,0.95" StartPoint="0.282,0.05">
122
                                                    <GradientStop Color="#FF67A1F4" Offset="0.107"/>
123
                                                    <GradientStop Color="#FF1660C0" Offset="0.691"/>
124
                                                </LinearGradientBrush>
125
                                            </Ellipse.Fill>
126
                                        </Ellipse>
127
                                        <Path 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" Margin="1.512,16.495,0.765,0.399" Stretch="Fill">
128
                                            <Path.Fill>
129
                                                <LinearGradientBrush EndPoint="0.61,0.964" StartPoint="0.39,0.036">
130
                                                    <GradientStop Color="#FF1660C0" Offset="0"/>
131
                                                    <GradientStop Color="#FF084EAB" Offset="1"/>
132
                                                </LinearGradientBrush>
133
                                            </Path.Fill>
134
                                        </Path>
135
                                        <Ellipse Margin="1,1,0,0" Stroke="#FF9AC2FA">
136
                                            <Ellipse.OpacityMask>
137
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
138
                                                    <GradientStop Color="#7C1D99EC" Offset="0"/>
139
                                                    <GradientStop Color="#7EAFDDFC" Offset="1"/>
140
                                                    <GradientStop Color="#C45EB6F1" Offset="0.382"/>
141
                                                </LinearGradientBrush>
142
                                            </Ellipse.OpacityMask>
143
                                        </Ellipse>
144
                                        <Path 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" Fill="White" Margin="13.257,6.592,12.036,15.073" Stretch="Fill"/>
145
                                        <Rectangle Fill="White" Height="6" Margin="19,0,19,6" VerticalAlignment="Bottom"/>
146
                                        <Ellipse Width="44">
147
                                            <Ellipse.Stroke>
148
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
149
                                                    <GradientStop Color="#FF2F6FC4" Offset="0"/>
150
                                                    <GradientStop Color="#FF084FAB" Offset="1"/>
151
                                                </LinearGradientBrush>
152
                                            </Ellipse.Stroke>
153
                                        </Ellipse>
154
                                    </Grid>
155
                                </DataTemplate>
156
                            </ContentPresenter.ContentTemplate>
157
                        </ContentPresenter>
158
                        <ScrollViewer Grid.Column="1" HorizontalScrollBarVisibility="Auto" Margin="0,0,0,8" Grid.Row="0" VerticalScrollBarVisibility="Auto" BorderBrush="{x:Null}">
159
                            <telerik:StyleManager.Theme>
160
                                <telerik:VisualStudio2013Theme/>
161
                            </telerik:StyleManager.Theme>
162
                            <ContentPresenter x:Name="ConfirmText" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" Margin="8,8,8,0" VerticalAlignment="Center"/>
163
                        </ScrollViewer>
164
                        <Border x:Name="HorizontalRule" BorderBrush="White" BorderThickness="0,0,0,1" Background="#26000000" Grid.ColumnSpan="2" Height="2" Grid.Row="1" VerticalAlignment="Top"/>
165
                        <StackPanel x:Name="DialogButtons" Grid.ColumnSpan="2" HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="2">
166
                            <telerik:RadButton x:Name="OK" Content="OK" Margin="0,10,8,8" 
167
                                                                MinWidth="100" telerik:LocalizationManager.ResourceKey="Ok"  Command="{x:Static telerik:WindowCommands.Confirm}" telerik:RadWindow.ResponseButton="Accept">
168
                                <telerik:StyleManager.Theme>
169
                                    <telerik:VisualStudio2013Theme/>
170
                                </telerik:StyleManager.Theme>
171
                            </telerik:RadButton>
172
                            <telerik:RadButton x:Name="Cancel" Content="Cancel" Margin="0,10,8,8" MinWidth="100" telerik:LocalizationManager.ResourceKey="Close"  Command="{x:Static telerik:WindowCommands.Close}" >
173
                                <telerik:StyleManager.Theme>
174
                                    <telerik:VisualStudio2013Theme/>
175
                                </telerik:StyleManager.Theme>
176
                            </telerik:RadButton>
177
                        </StackPanel>
178
                    </Grid>
179
                </ControlTemplate>
180
            </Setter.Value>
181
        </Setter>
182
    </Style>
183 c362d2a5 taeseongkim
</ResourceDictionary>
클립보드 이미지 추가 (최대 크기: 500 MB)