프로젝트

일반

사용자정보

개정판 4fcb686a

ID4fcb686a2d4740f5eee8d44f69429ab17bd7489f
상위 a7bee7cf
하위 5ba8f2d5

김태성이(가) 2년 이상 전에 추가함

issue #000 font가 적용 되지 않아 box size가 작게 출력되는 문제

Change-Id: Ie07531db96d56e8d5c2bbdbf0786d053ad39747c

차이점 보기:

MarkupToPDF/Themes/generic.xaml
1
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3
                    xmlns:Shape="clr-namespace:MarkupToPDF.Controls.Shape"
4
                    xmlns:Text="clr-namespace:MarkupToPDF.Controls.Text"
5
                    xmlns:Line="clr-namespace:MarkupToPDF.Controls.Line"
6
                    xmlns:polygon="clr-namespace:MarkupToPDF.Controls.Polygon"
7
                    xmlns:Etc="clr-namespace:MarkupToPDF.Controls.Etc"
8
                    xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle"
9
                    xmlns:Cad="clr-namespace:MarkupToPDF.Controls.Cad">
1
<ResourceDictionary
2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
    xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle"
5
    xmlns:Cad="clr-namespace:MarkupToPDF.Controls.Cad"
6
    xmlns:Etc="clr-namespace:MarkupToPDF.Controls.Etc"
7
    xmlns:Line="clr-namespace:MarkupToPDF.Controls.Line"
8
    xmlns:Shape="clr-namespace:MarkupToPDF.Controls.Shape"
9
    xmlns:Text="clr-namespace:MarkupToPDF.Controls.Text"
10
    xmlns:polygon="clr-namespace:MarkupToPDF.Controls.Polygon">
10 11

  
11 12
    <Style TargetType="{x:Type Cad:CoordinateControl}">
12 13
        <Setter Property="Template">
13 14
            <Setter.Value>
14 15
                <ControlTemplate TargetType="{x:Type Cad:CoordinateControl}">
15
                    <Path x:Name="PART_RectPath"
16
                              Stroke="Black"
17
                              StrokeThickness="10"
18
                              Fill="{TemplateBinding FillColor}"
19
                              RenderTransformOrigin="0.5,0.5" Data="{TemplateBinding PathData}">
20
                    </Path>
16
                    <Path
17
                        x:Name="PART_RectPath"
18
                        Data="{TemplateBinding PathData}"
19
                        Fill="{TemplateBinding FillColor}"
20
                        RenderTransformOrigin="0.5,0.5"
21
                        Stroke="Black"
22
                        StrokeThickness="10" />
21 23
                </ControlTemplate>
22 24
            </Setter.Value>
23 25
        </Setter>
......
26 28
        <Setter Property="Template">
27 29
            <Setter.Value>
28 30
                <ControlTemplate TargetType="{x:Type Cad:InsideWhiteControl}">
29
                    <Path x:Name="PART_RectPath"
30
                              Stroke="LightGray"
31
                              StrokeThickness="{TemplateBinding LineSize}"
32
                              Data="{TemplateBinding PathData}"
33
                              Opacity="0.3"
34
                              Fill="LightGray"
35
                              RenderTransformOrigin="0.5,0.5">
36
                    </Path>
31
                    <Path
32
                        x:Name="PART_RectPath"
33
                        Data="{TemplateBinding PathData}"
34
                        Fill="LightGray"
35
                        Opacity="0.3"
36
                        RenderTransformOrigin="0.5,0.5"
37
                        Stroke="LightGray"
38
                        StrokeThickness="{TemplateBinding LineSize}" />
37 39
                </ControlTemplate>
38 40
            </Setter.Value>
39 41
        </Setter>
......
42 44
        <Setter Property="Template">
43 45
            <Setter.Value>
44 46
                <ControlTemplate TargetType="{x:Type Cad:OverlapWhiteControl}">
45
                    <Path x:Name="PART_RectPath"
46
                              Stroke="LightGray"
47
                              StrokeThickness="{TemplateBinding LineSize}"
48
                              Data="{TemplateBinding PathData}"
49
                              Opacity="0.3"
50
                              Fill="LightGray"
51
                              RenderTransformOrigin="0.5,0.5">
52
                    </Path>
47
                    <Path
48
                        x:Name="PART_RectPath"
49
                        Data="{TemplateBinding PathData}"
50
                        Fill="LightGray"
51
                        Opacity="0.3"
52
                        RenderTransformOrigin="0.5,0.5"
53
                        Stroke="LightGray"
54
                        StrokeThickness="{TemplateBinding LineSize}" />
53 55
                </ControlTemplate>
54 56
            </Setter.Value>
55 57
        </Setter>
......
58 60
        <Setter Property="Template">
59 61
            <Setter.Value>
60 62
                <ControlTemplate TargetType="{x:Type Cad:ClipWhiteControl}">
61
                    <Path x:Name="PART_RectPath"
62
                              Stroke="LightGray"
63
                              StrokeThickness="{TemplateBinding LineSize}"
64
                              Data="{TemplateBinding PathData}"
65
                              Opacity="0.3"
66
                              Fill="LightGray"
67
                              RenderTransformOrigin="0.5,0.5">
68
                    </Path>
63
                    <Path
64
                        x:Name="PART_RectPath"
65
                        Data="{TemplateBinding PathData}"
66
                        Fill="LightGray"
67
                        Opacity="0.3"
68
                        RenderTransformOrigin="0.5,0.5"
69
                        Stroke="LightGray"
70
                        StrokeThickness="{TemplateBinding LineSize}" />
69 71
                </ControlTemplate>
70 72
            </Setter.Value>
71 73
        </Setter>
......
74 76
        <Setter Property="Template">
75 77
            <Setter.Value>
76 78
                <ControlTemplate TargetType="Angle:AngleControl">
77
                    <Border BorderBrush="#FF051F25" BorderThickness="2" Opacity="0.7" Width="120">
79
                    <Border
80
                        Width="120"
81
                        BorderBrush="#FF051F25"
82
                        BorderThickness="2"
83
                        Opacity="0.7">
78 84
                        <Border.Background>
79
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
80
                                <GradientStop Color="#FF00CDFF" Offset="0" />
81
                                <GradientStop Color="#ff4185f3" Offset="1" />
85
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
86
                                <GradientStop Offset="0" Color="#FF00CDFF" />
87
                                <GradientStop Offset="1" Color="#ff4185f3" />
82 88
                            </LinearGradientBrush>
83 89
                        </Border.Background>
84 90
                        <Grid>
85
                            <TextBlock x:Name="PART_AngleText" Text="{TemplateBinding AngleValue}"  Margin="5"
86
								FontSize="18" HorizontalAlignment="Left" VerticalAlignment="Center" />
87
                            <TextBlock Text="Angle" VerticalAlignment="Bottom" HorizontalAlignment="Right"
88
								Opacity="0.9"
89
								FontSize="10" Foreground="White" FontWeight="Bold" Margin="3,3,3,0" />
91
                            <TextBlock
92
                                x:Name="PART_AngleText"
93
                                Margin="5"
94
                                HorizontalAlignment="Left"
95
                                VerticalAlignment="Center"
96
                                FontSize="18"
97
                                Text="{TemplateBinding AngleValue}" />
98
                            <TextBlock
99
                                Margin="3,3,3,0"
100
                                HorizontalAlignment="Right"
101
                                VerticalAlignment="Bottom"
102
                                FontSize="10"
103
                                FontWeight="Bold"
104
                                Foreground="White"
105
                                Opacity="0.9"
106
                                Text="Angle" />
90 107
                        </Grid>
91 108
                    </Border>
92 109
                </ControlTemplate>
......
98 115
        <Setter Property="Template">
99 116
            <Setter.Value>
100 117
                <ControlTemplate TargetType="{x:Type Line:LineControl}">
101
                    <Path x:Name="PART_LinePath"
102
                          Stroke="{TemplateBinding StrokeColor}"
103
                          StrokeThickness="{TemplateBinding LineSize}"
104
                          Data="{TemplateBinding PathData}"
105
                          RenderTransformOrigin="0.5,0.5"
106
                          Fill="{TemplateBinding StrokeColor}">
107
                    </Path>
118
                    <Path
119
                        x:Name="PART_LinePath"
120
                        Data="{TemplateBinding PathData}"
121
                        Fill="{TemplateBinding StrokeColor}"
122
                        RenderTransformOrigin="0.5,0.5"
123
                        Stroke="{TemplateBinding StrokeColor}"
124
                        StrokeThickness="{TemplateBinding LineSize}" />
108 125
                </ControlTemplate>
109 126
            </Setter.Value>
110 127
        </Setter>
......
114 131
        <Setter Property="Template">
115 132
            <Setter.Value>
116 133
                <ControlTemplate TargetType="{x:Type Line:ArcControl}">
117
                    <Path x:Name="PART_ArcPath"
118
                          Stroke="{TemplateBinding StrokeColor}"
119
                          StrokeThickness="{TemplateBinding LineSize}"
120
                          Data="{TemplateBinding PathData}"
121
                          RenderTransformOrigin="0.5,0.5"
122
                          Fill="{TemplateBinding StrokeColor}">
123
                    </Path>
134
                    <Path
135
                        x:Name="PART_ArcPath"
136
                        Data="{TemplateBinding PathData}"
137
                        Fill="{TemplateBinding StrokeColor}"
138
                        RenderTransformOrigin="0.5,0.5"
139
                        Stroke="{TemplateBinding StrokeColor}"
140
                        StrokeThickness="{TemplateBinding LineSize}" />
124 141
                </ControlTemplate>
125 142
            </Setter.Value>
126 143
        </Setter>
......
129 146
        <Setter Property="Template">
130 147
            <Setter.Value>
131 148
                <ControlTemplate TargetType="{x:Type Line:ArrowArcControl}">
132
                    <Path x:Name="PART_ArcPath"
133
                          Stroke="{TemplateBinding StrokeColor}"
134
                          StrokeThickness="{TemplateBinding LineSize}"
135
                          Data="{TemplateBinding PathData}"
136
                          RenderTransformOrigin="0.5,0.5"
137
                          Fill="{TemplateBinding StrokeColor}">
138
                    </Path>
149
                    <Path
150
                        x:Name="PART_ArcPath"
151
                        Data="{TemplateBinding PathData}"
152
                        Fill="{TemplateBinding StrokeColor}"
153
                        RenderTransformOrigin="0.5,0.5"
154
                        Stroke="{TemplateBinding StrokeColor}"
155
                        StrokeThickness="{TemplateBinding LineSize}" />
139 156
                </ControlTemplate>
140 157
            </Setter.Value>
141 158
        </Setter>
......
144 161
        <Setter Property="Template">
145 162
            <Setter.Value>
146 163
                <ControlTemplate TargetType="{x:Type Line:ArrowControl_Multi}">
147
                    <Path x:Name="PART_ArrowMultiPath"
148
                          Stroke="{TemplateBinding StrokeColor}"
149
                          Fill="{TemplateBinding StrokeColor}"
150
						  StrokeThickness="{TemplateBinding LineSize}"
151
                          Data="{TemplateBinding PathData}" />
164
                    <Path
165
                        x:Name="PART_ArrowMultiPath"
166
                        Data="{TemplateBinding PathData}"
167
                        Fill="{TemplateBinding StrokeColor}"
168
                        Stroke="{TemplateBinding StrokeColor}"
169
                        StrokeThickness="{TemplateBinding LineSize}" />
152 170
                </ControlTemplate>
153 171
            </Setter.Value>
154 172
        </Setter>
......
158 176
        <Setter Property="Template">
159 177
            <Setter.Value>
160 178
                <ControlTemplate TargetType="{x:Type Shape:RectangleControl}">
161
                    <Path x:Name="PART_RectPath"
162
                              Stroke="{TemplateBinding StrokeColor}"
163
                              StrokeThickness="{TemplateBinding LineSize}"
164
                              Data="{TemplateBinding PathData}"
165
                              Fill="{TemplateBinding FillColor}"
166
                              RenderTransformOrigin="0.5,0.5">
179
                    <Path
180
                        x:Name="PART_RectPath"
181
                        Data="{TemplateBinding PathData}"
182
                        Fill="{TemplateBinding FillColor}"
183
                        RenderTransformOrigin="0.5,0.5"
184
                        Stroke="{TemplateBinding StrokeColor}"
185
                        StrokeThickness="{TemplateBinding LineSize}">
167 186
                        <!--<Path.OpacityMask>
168 187
                            <RadialGradientBrush>
169 188
                                <RadialGradientBrush.GradientStops>
......
182 201
        <Setter Property="Template">
183 202
            <Setter.Value>
184 203
                <ControlTemplate TargetType="{x:Type Shape:TriControl}">
185
                    <Path x:Name="PART_TriPath"
186
                          Stroke="{TemplateBinding StrokeColor}"
187
                          StrokeThickness="{TemplateBinding LineSize}"
188
                          Data="{TemplateBinding PathData}"
189
                          Fill="{TemplateBinding FillColor}">
190
                    </Path>
204
                    <Path
205
                        x:Name="PART_TriPath"
206
                        Data="{TemplateBinding PathData}"
207
                        Fill="{TemplateBinding FillColor}"
208
                        Stroke="{TemplateBinding StrokeColor}"
209
                        StrokeThickness="{TemplateBinding LineSize}" />
191 210
                </ControlTemplate>
192 211
            </Setter.Value>
193 212
        </Setter>
......
197 216
        <Setter Property="Template">
198 217
            <Setter.Value>
199 218
                <ControlTemplate TargetType="Shape:CircleControl">
200
                    <Path x:Name="PART_CirclePath"
201
                          Stroke="{TemplateBinding StrokeColor}"
202
                          StrokeThickness="{TemplateBinding LineSize}"
203
						  Fill="{TemplateBinding FillColor}"
204
                          Data="{TemplateBinding PathData}"
205
                          RenderTransformOrigin="0.5,0.5">
219
                    <Path
220
                        x:Name="PART_CirclePath"
221
                        Data="{TemplateBinding PathData}"
222
                        Fill="{TemplateBinding FillColor}"
223
                        RenderTransformOrigin="0.5,0.5"
224
                        Stroke="{TemplateBinding StrokeColor}"
225
                        StrokeThickness="{TemplateBinding LineSize}">
206 226
                        <Path.RenderTransform>
207 227
                            <TransformGroup>
208
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
209
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
210
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
228
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
211 229
                            </TransformGroup>
212 230
                        </Path.RenderTransform>
213 231
                    </Path>
......
221 239
            <Setter.Value>
222 240
                <ControlTemplate TargetType="polygon:CloudControl">
223 241
                    <Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
224
                        <Path x:Name="PART_CloudPath"
225
                              Stroke="{TemplateBinding StrokeColor}"
226
                              Fill="{TemplateBinding FillColor}"
227
                              StrokeThickness="{TemplateBinding LineSize}"
228
                              Data="{TemplateBinding PathData}"
229
                              RenderTransformOrigin="0,0" />
230
                        <Path x:Name="PART_CloudSubPath"
231
                              Stroke="Transparent"
232
                              Fill="{TemplateBinding FillColor}"
233
                              StrokeThickness="{TemplateBinding LineSize}"
234
                              Data="{TemplateBinding PathSubData}"
235
                              RenderTransformOrigin="0,0" />
242
                        <Path
243
                            x:Name="PART_CloudPath"
244
                            Data="{TemplateBinding PathData}"
245
                            Fill="{TemplateBinding FillColor}"
246
                            RenderTransformOrigin="0,0"
247
                            Stroke="{TemplateBinding StrokeColor}"
248
                            StrokeThickness="{TemplateBinding LineSize}" />
249
                        <Path
250
                            x:Name="PART_CloudSubPath"
251
                            Data="{TemplateBinding PathSubData}"
252
                            Fill="{TemplateBinding FillColor}"
253
                            RenderTransformOrigin="0,0"
254
                            Stroke="Transparent"
255
                            StrokeThickness="{TemplateBinding LineSize}" />
236 256
                    </Canvas>
237 257
                </ControlTemplate>
238 258
            </Setter.Value>
......
244 264
            <Setter.Value>
245 265
                <ControlTemplate TargetType="Shape:RectCloudControl">
246 266
                    <Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
247
                        <Path x:Name="PART_ArcPath"
248
                              Stroke="{TemplateBinding StrokeColor}"
249
                              Fill="{TemplateBinding FillColor}"
250
                              StrokeThickness="{TemplateBinding LineSize}"
251
                              Data="{TemplateBinding PathData}"
252
                              RenderTransformOrigin="0,0" />
253
                        <Path x:Name="PART_BodyPath"
254
                              Stroke="Transparent"
255
                              Fill="{TemplateBinding FillColor}"
256
                              StrokeThickness="{TemplateBinding LineSize}"
257
                              Data="{TemplateBinding PathSubData}"
258
                              RenderTransformOrigin="0,0" />
267
                        <Path
268
                            x:Name="PART_ArcPath"
269
                            Data="{TemplateBinding PathData}"
270
                            Fill="{TemplateBinding FillColor}"
271
                            RenderTransformOrigin="0,0"
272
                            Stroke="{TemplateBinding StrokeColor}"
273
                            StrokeThickness="{TemplateBinding LineSize}" />
274
                        <Path
275
                            x:Name="PART_BodyPath"
276
                            Data="{TemplateBinding PathSubData}"
277
                            Fill="{TemplateBinding FillColor}"
278
                            RenderTransformOrigin="0,0"
279
                            Stroke="Transparent"
280
                            StrokeThickness="{TemplateBinding LineSize}" />
259 281
                    </Canvas>
260 282
                </ControlTemplate>
261 283
            </Setter.Value>
......
266 288
        <Setter Property="Template">
267 289
            <Setter.Value>
268 290
                <ControlTemplate TargetType="{x:Type polygon:PolygonControl}">
269
                    <Path x:Name="PART_PolyPath"
270
                          Stroke="{TemplateBinding StrokeColor}"
271
                          StrokeThickness="{TemplateBinding LineSize}"
272
                          Data="{TemplateBinding PathData}"
273
                          RenderTransformOrigin="0.5,0.5">
274
                    </Path>
291
                    <Path
292
                        x:Name="PART_PolyPath"
293
                        Data="{TemplateBinding PathData}"
294
                        RenderTransformOrigin="0.5,0.5"
295
                        Stroke="{TemplateBinding StrokeColor}"
296
                        StrokeThickness="{TemplateBinding LineSize}" />
275 297
                </ControlTemplate>
276 298
            </Setter.Value>
277 299
        </Setter>
......
281 303
        <Setter Property="Template">
282 304
            <Setter.Value>
283 305
                <ControlTemplate TargetType="{x:Type polygon:InkControl}">
284
                    <Path x:Name="PART_PolyPath"
285
                          Stroke="{TemplateBinding StrokeColor}"
286
                          StrokeThickness="{TemplateBinding LineSize}"
287
                          Data="{TemplateBinding PathData}"
288
                          RenderTransformOrigin="0.5,0.5">
289
                    </Path>
306
                    <Path
307
                        x:Name="PART_PolyPath"
308
                        Data="{TemplateBinding PathData}"
309
                        RenderTransformOrigin="0.5,0.5"
310
                        Stroke="{TemplateBinding StrokeColor}"
311
                        StrokeThickness="{TemplateBinding LineSize}" />
290 312
                </ControlTemplate>
291 313
            </Setter.Value>
292 314
        </Setter>
......
298 320
            <Setter.Value>
299 321
                <!--<ControlTemplate TargetType="Text:TextControl">-->
300 322
                <ControlTemplate TargetType="{x:Type Text:TextControl}">
301
                    <Canvas Background="Red" x:Name="PART_TextControlCanvas">
302
                        <Grid VerticalAlignment="Stretch"  HorizontalAlignment="Stretch" x:Name="PART_Grid" RenderTransformOrigin="0,0" Canvas.ZIndex="0">
323
                    <Canvas x:Name="PART_TextControlCanvas" Background="Red">
324
                        <Grid
325
                            x:Name="PART_Grid"
326
                            HorizontalAlignment="Stretch"
327
                            VerticalAlignment="Stretch"
328
                            Canvas.ZIndex="0"
329
                            RenderTransformOrigin="0,0">
303 330
                            <Grid.RenderTransform>
304
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
305
                                             CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
306
                                             CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }" />
331
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
307 332

  
308 333
                                <!--<RotateTransform Angle="{TemplateBinding Angle}"
309 334
                                                    CenterX="{TemplateBinding CenterX}"
......
311 336
                                </RotateTransform>-->
312 337
                            </Grid.RenderTransform>
313 338
                        </Grid>
314
                        <Grid VerticalAlignment="Stretch"  HorizontalAlignment="Stretch" RenderTransformOrigin="0,0" Canvas.ZIndex="2">
339
                        <Grid
340
                            HorizontalAlignment="Stretch"
341
                            VerticalAlignment="Stretch"
342
                            Canvas.ZIndex="2"
343
                            RenderTransformOrigin="0,0">
315 344
                            <Grid.Background>
316
                                <SolidColorBrush Color="{TemplateBinding BackColor}" Opacity="0.001" />
345
                                <SolidColorBrush Opacity="0.001" Color="{TemplateBinding BackColor}" />
317 346
                            </Grid.Background>
318 347
                            <Grid.RenderTransform>
319
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
320
                                             CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
321
                                             CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }" />
348
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
322 349
                            </Grid.RenderTransform>
323
                            <Border x:Name="PART_Border" Background="Transparent" IsHitTestVisible="False" Margin="2,5,3,5">
324
                            </Border>
325
                            <Border  Background="{TemplateBinding BackColor}" IsHitTestVisible="False" Margin="2,5,3,5">
326
                            </Border>
327

  
328
                            <TextBlock x:Name="PART_TextPrefix" Text="" Foreground="{TemplateBinding StrokeColor}" Margin="-30,-30" IsHitTestVisible="False"
329
								FontStyle="{TemplateBinding TextStyle}" FontWeight="{TemplateBinding TextWeight}"  TextDecorations="{TemplateBinding UnderLine}"
330
                                FontSize="30" FontFamily="{TemplateBinding TextFamily}" TextWrapping="Wrap"
331
                                RenderTransformOrigin="0, 0">
332
                            </TextBlock>
350
                            <Border
351
                                x:Name="PART_Border"
352
                                Margin="2,5,3,5"
353
                                Background="Transparent"
354
                                IsHitTestVisible="False" />
355
                            <Border
356
                                Margin="2,5,3,5"
357
                                Background="{TemplateBinding BackColor}"
358
                                IsHitTestVisible="False" />
359

  
360
                            <TextBlock
361
                                x:Name="PART_TextPrefix"
362
                                Margin="-30,-30"
363
                                FontFamily="{TemplateBinding TextFamily}"
364
                                FontSize="30"
365
                                FontStyle="{TemplateBinding TextStyle}"
366
                                FontWeight="{TemplateBinding TextWeight}"
367
                                Foreground="{TemplateBinding StrokeColor}"
368
                                IsHitTestVisible="False"
369
                                RenderTransformOrigin="0, 0"
370
                                Text=""
371
                                TextDecorations="{TemplateBinding UnderLine}"
372
                                TextWrapping="Wrap" />
333 373
                            <Border Background="Transparent">
334 374

  
335
                                <TextBlock x:Name="PART_TextBlock" Text="{TemplateBinding Text}" Foreground="{TemplateBinding StrokeColor}"
336
								    FontStyle="{TemplateBinding TextStyle}" FontWeight="{TemplateBinding TextWeight}"  TextDecorations="{TemplateBinding UnderLine}"
337
                                    FontSize="{TemplateBinding TextSize}" FontFamily="{TemplateBinding TextFamily}" TextWrapping="Wrap" Padding="2" Margin="2,0,0,0"
338
                                    Visibility="{Binding TextBlockVisibility, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
339
                                    RenderTransformOrigin="0, 0">
340
                                </TextBlock>
375
                                <TextBlock
376
                                    x:Name="PART_TextBlock"
377
                                    Margin="2,0,0,0"
378
                                    Padding="2"
379
                                    FontFamily="{TemplateBinding TextFamily}"
380
                                    FontSize="{TemplateBinding TextSize}"
381
                                    FontStyle="{TemplateBinding TextStyle}"
382
                                    FontWeight="{TemplateBinding TextWeight}"
383
                                    Foreground="{TemplateBinding StrokeColor}"
384
                                    RenderTransformOrigin="0, 0"
385
                                    Text="{TemplateBinding Text}"
386
                                    TextDecorations="{TemplateBinding UnderLine}"
387
                                    TextWrapping="Wrap"
388
                                    Visibility="{Binding TextBlockVisibility, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
341 389
                            </Border>
342 390

  
343
                            <TextBox x:Name="PART_TextBox" Text="{TemplateBinding Text}" Foreground="{TemplateBinding StrokeColor}"  IsTabStop="False" AcceptsTab="False"
344
                                        Visibility="{Binding TextBoxVisibility, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Padding="2"
345
								        TextWrapping="Wrap"  Background="{TemplateBinding BackColor}" FontSize="{TemplateBinding TextSize}" AcceptsReturn="True"
346
                                        FontFamily="{TemplateBinding TextFamily}" FontStyle="{TemplateBinding TextStyle}"   TextDecorations="{TemplateBinding UnderLine}" FontWeight="{TemplateBinding TextWeight}">
347
                            </TextBox>
391
                            <TextBox
392
                                x:Name="PART_TextBox"
393
                                Padding="2"
394
                                AcceptsReturn="True"
395
                                AcceptsTab="False"
396
                                Background="{TemplateBinding BackColor}"
397
                                FontFamily="{TemplateBinding TextFamily}"
398
                                FontSize="{TemplateBinding TextSize}"
399
                                FontStyle="{TemplateBinding TextStyle}"
400
                                FontWeight="{TemplateBinding TextWeight}"
401
                                Foreground="{TemplateBinding StrokeColor}"
402
                                IsTabStop="False"
403
                                Text="{TemplateBinding Text}"
404
                                TextDecorations="{TemplateBinding UnderLine}"
405
                                TextWrapping="Wrap"
406
                                Visibility="{Binding TextBoxVisibility, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
348 407

  
349 408
                            <Canvas>
350
                                <Border x:Name="Caret"
351
                                        Visibility="Collapsed"
352
                                        Canvas.Left="0"
353
                                        Canvas.Top="0"
354
                                        Width="3"
355
                                        Height="33"
356
                                        Background="Red">
409
                                <Border
410
                                    x:Name="Caret"
411
                                    Canvas.Left="0"
412
                                    Canvas.Top="0"
413
                                    Width="3"
414
                                    Height="33"
415
                                    Background="Red"
416
                                    Visibility="Collapsed">
357 417
                                    <Border.Triggers>
358 418
                                        <EventTrigger RoutedEvent="Border.Loaded">
359 419
                                            <BeginStoryboard>
360
                                                <Storyboard  x:Name="CaretStoryBoard"
361
                                                                 RepeatBehavior="Forever">
420
                                                <Storyboard x:Name="CaretStoryBoard" RepeatBehavior="Forever">
362 421
                                                    <ColorAnimationUsingKeyFrames
363
                                                                Storyboard.TargetProperty="Background.Color"
364
                                                                Duration="0:0:0:1"
365
                                                                FillBehavior="HoldEnd">
422
                                                        FillBehavior="HoldEnd"
423
                                                        Storyboard.TargetProperty="Background.Color"
424
                                                        Duration="0:0:0:1">
366 425
                                                        <ColorAnimationUsingKeyFrames.KeyFrames>
367 426
                                                            <DiscreteColorKeyFrame KeyTime="0:0:0.750" Value="Transparent" />
368 427
                                                            <DiscreteColorKeyFrame KeyTime="0:0:0.000" Value="Black" />
......
376 435
                            </Canvas>
377 436
                        </Grid>
378 437

  
379
                        <Path Stroke="Transparent" Data="{TemplateBinding PathDataInner}" RenderTransformOrigin="0,0" Canvas.ZIndex="0" IsHitTestVisible="False"
380
                              Fill="{TemplateBinding BackInnerColor}">
438
                        <Path
439
                            Canvas.ZIndex="0"
440
                            Data="{TemplateBinding PathDataInner}"
441
                            Fill="{TemplateBinding BackInnerColor}"
442
                            IsHitTestVisible="False"
443
                            RenderTransformOrigin="0,0"
444
                            Stroke="Transparent">
381 445
                            <Path.RenderTransform>
382 446
                                <!--<RotateTransform Angle="{TemplateBinding Angle}"
383 447
                                                    CenterX="{TemplateBinding CenterX}"
384 448
                                                    CenterY="{TemplateBinding CenterY}">
385 449
                                </RotateTransform>-->
386
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
387
                                             CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
388
                                             CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }" />
450
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
389 451
                            </Path.RenderTransform>
390 452
                        </Path>
391 453

  
392
                        <Path x:Name="PART_TextPath" Stroke="{TemplateBinding StrokeColor}"  Data="{TemplateBinding PathData}" RenderTransformOrigin="0,0" Canvas.ZIndex="1">
454
                        <Path
455
                            x:Name="PART_TextPath"
456
                            Canvas.ZIndex="1"
457
                            Data="{TemplateBinding PathData}"
458
                            RenderTransformOrigin="0,0"
459
                            Stroke="{TemplateBinding StrokeColor}">
393 460
                            <Path.Fill>
394
                                <SolidColorBrush Color="{TemplateBinding BackInnerColor}" Opacity="0.6" />
461
                                <SolidColorBrush Opacity="0.6" Color="{TemplateBinding BackInnerColor}" />
395 462
                            </Path.Fill>
396 463
                            <Path.RenderTransform>
397 464
                                <!--<RotateTransform Angle="{TemplateBinding Angle}"
398 465
                                                    CenterX="{TemplateBinding CenterX}"
399 466
                                                    CenterY="{TemplateBinding CenterY}">
400 467
                                </RotateTransform>-->
401
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
402
                                             CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
403
                                             CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }" />
468
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
404 469
                            </Path.RenderTransform>
405 470
                        </Path>
406 471
                    </Canvas>
......
477 542
                              Fill="{TemplateBinding StrokeColor}">
478 543
                        </Path>-->
479 544

  
480
                        <Path x:Name="PART_ArrowPath"  Panel.ZIndex="0"
481
                                  Stroke="{TemplateBinding StrokeColor}"
482
						          StrokeThickness="{TemplateBinding LineSize}"
483
                                  Data="{TemplateBinding PathData}"
484
                                  Fill="{TemplateBinding StrokeColor}" />
545
                        <Path
546
                            x:Name="PART_ArrowPath"
547
                            Panel.ZIndex="0"
548
                            Data="{TemplateBinding PathData}"
549
                            Fill="{TemplateBinding StrokeColor}"
550
                            Stroke="{TemplateBinding StrokeColor}"
551
                            StrokeThickness="{TemplateBinding LineSize}" />
485 552

  
486 553
                        <!--<Path x:Name="PART_ArrowSubPath"
487 554
                                      Stroke="{TemplateBinding StrokeColor}"
......
490 557
                                      Data="{TemplateBinding SubPathData}"
491 558
                                      RenderTransformOrigin="0,0" />-->
492 559

  
493
                        <Path x:Name="PART_ArrowSubPath"  Panel.ZIndex="2"
494
                                      Stroke="{TemplateBinding StrokeColor}"
495
						              StrokeThickness="{TemplateBinding LineSize}"
496
                                      Fill="{TemplateBinding SubPathFill}"
497
                                      Data="{TemplateBinding SubPathData}"
498
                                      RenderTransformOrigin="0,0" />
499

  
500
                        <Path  x:Name="PART_TextBoxBackBorder"
501
                                      Stroke="Transparent"
502
                                      Fill="{TemplateBinding BackInnerColor}" Panel.ZIndex="1"
503
                                      Data="{TemplateBinding PathDataInner}"
504
                                      RenderTransformOrigin="0,0" />
560
                        <Path
561
                            x:Name="PART_ArrowSubPath"
562
                            Panel.ZIndex="2"
563
                            Data="{TemplateBinding SubPathData}"
564
                            Fill="{TemplateBinding SubPathFill}"
565
                            RenderTransformOrigin="0,0"
566
                            Stroke="{TemplateBinding StrokeColor}"
567
                            StrokeThickness="{TemplateBinding LineSize}" />
568

  
569
                        <Path
570
                            x:Name="PART_TextBoxBackBorder"
571
                            Panel.ZIndex="1"
572
                            Data="{TemplateBinding PathDataInner}"
573
                            Fill="{TemplateBinding BackInnerColor}"
574
                            RenderTransformOrigin="0,0"
575
                            Stroke="Transparent" />
505 576
                        <!--<TextBlock x:Name="PART_ArrowTextBlock"
506 577
                                     Margin="0.5"
507 578
                                     Background="{TemplateBinding TextBoxBackground}"
......
523 594
                        </TextBlock>-->
524 595

  
525 596
                        <Canvas Panel.ZIndex="4">
526
                            <Border x:Name="Caret"
527
                                            Visibility="Collapsed"
528
                                            Canvas.Left="0"
529
                                            Canvas.Top="0"
530
                                            Width="5"
531
                                            RenderTransformOrigin="0.5,0.5"
532
                                            Height="{Binding ActualHeight,ElementName=CaretHeightTextBlock}">
597
                            <Border
598
                                x:Name="Caret"
599
                                Canvas.Left="0"
600
                                Canvas.Top="0"
601
                                Width="5"
602
                                Height="{Binding ActualHeight, ElementName=CaretHeightTextBlock}"
603
                                RenderTransformOrigin="0.5,0.5"
604
                                Visibility="Collapsed">
533 605
                                <Border.Background>
534 606
                                    <SolidColorBrush Color="#B2930909" />
535 607
                                </Border.Background>
536
                                <TextBlock Text="A" x:Name="CaretHeightTextBlock" Foreground="Transparent" FontSize="{TemplateBinding TextSize}"
537
                                         FontFamily="{TemplateBinding TextFamily}" TextWrapping="NoWrap"
538
                                         FontStyle="{TemplateBinding TextStyle}" />
608
                                <TextBlock
609
                                    x:Name="CaretHeightTextBlock"
610
                                    FontFamily="{TemplateBinding TextFamily}"
611
                                    FontSize="{TemplateBinding TextSize}"
612
                                    FontStyle="{TemplateBinding TextStyle}"
613
                                    Foreground="Transparent"
614
                                    Text="A"
615
                                    TextWrapping="NoWrap" />
539 616
                                <!--<Border.RenderTransform>
540 617
                                    <RotateTransform  Angle="{Binding VisualPageAngle, Converter={StaticResource ValueBindingTestConverter}, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
541 618
                                                                CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
......
544 621
                                <Border.Triggers>
545 622
                                    <EventTrigger RoutedEvent="FrameworkElement.Loaded">
546 623
                                        <BeginStoryboard>
547
                                            <Storyboard  x:Name="CaretStoryBoard"
548
                                                                     RepeatBehavior="Forever">
624
                                            <Storyboard x:Name="CaretStoryBoard" RepeatBehavior="Forever">
549 625
                                                <ColorAnimationUsingKeyFrames
550
                                                                    Storyboard.TargetProperty="Background.Color"
551
                                                                Duration="0:0:0:1"
552
                                                                FillBehavior="HoldEnd">
626
                                                    FillBehavior="HoldEnd"
627
                                                    Storyboard.TargetProperty="Background.Color"
628
                                                    Duration="0:0:0:1">
553 629
                                                    <DiscreteColorKeyFrame KeyTime="0:0:0.750" Value="Transparent" />
554 630
                                                    <DiscreteColorKeyFrame KeyTime="0:0:0.000" Value="#B2930909" />
555 631
                                                </ColorAnimationUsingKeyFrames>
......
559 635
                                </Border.Triggers>
560 636
                            </Border>
561 637
                        </Canvas>
562
                        <TextBox x:Name="PART_ArrowTextBox"
563
                                         Margin="0.5" Panel.ZIndex="5"
564
                                         Background="{TemplateBinding TextBoxBackground}"
565
                                         BorderThickness="{TemplateBinding BorderSize}"
566
                                         BorderBrush="{TemplateBinding StrokeColor}"
567
                                         FontSize="{TemplateBinding TextSize}"
568
                                         FontFamily="{TemplateBinding TextFamily}"
569
                                         FontStyle="{TemplateBinding TextStyle}"
570
								         FontWeight="{TemplateBinding TextWeight}"
571
                                         TextDecorations="{TemplateBinding UnderLine}"
572
                                         AcceptsReturn="True"
573
                                         Foreground="{TemplateBinding StrokeColor}"
574
                                         HorizontalAlignment="Stretch"
575
                                         TextWrapping="Wrap"
576
                                          CaretBrush="DarkBlue"
577
                                         Text="{TemplateBinding ArrowText}"
578
                                         RenderTransformOrigin="0.5,0.5">
638
                        <TextBox
639
                            x:Name="PART_ArrowTextBox"
640
                            Margin="0.5"
641
                            HorizontalAlignment="Stretch"
642
                            Panel.ZIndex="5"
643
                            AcceptsReturn="True"
644
                            Background="{TemplateBinding TextBoxBackground}"
645
                            BorderBrush="{TemplateBinding StrokeColor}"
646
                            BorderThickness="{TemplateBinding BorderSize}"
647
                            CaretBrush="DarkBlue"
648
                            FontFamily="{TemplateBinding TextFamily}"
649
                            FontSize="{TemplateBinding TextSize}"
650
                            FontStyle="{TemplateBinding TextStyle}"
651
                            FontWeight="{TemplateBinding TextWeight}"
652
                            Foreground="{TemplateBinding StrokeColor}"
653
                            RenderTransformOrigin="0.5,0.5"
654
                            Text="{TemplateBinding ArrowText}"
655
                            TextDecorations="{TemplateBinding UnderLine}"
656
                            TextWrapping="Wrap">
579 657
                            <!--<TextBox.RenderTransform>
580 658
                                <RotateTransform  Angle="{Binding VisualPageAngle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
581 659
                                                        CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
......
593 671
            <Setter.Value>
594 672
                <ControlTemplate TargetType="Etc:DateControl">
595 673
                    <Viewbox x:Name="PART_ViewBox">
596
                        <TextBlock x:Name="PART_TextBox" Text="{TemplateBinding Text}"
597
                                 Foreground="{TemplateBinding FontColor}" RenderTransformOrigin="0.5,0.5">
674
                        <TextBlock
675
                            x:Name="PART_TextBox"
676
                            Foreground="{TemplateBinding FontColor}"
677
                            RenderTransformOrigin="0.5,0.5"
678
                            Text="{TemplateBinding Text}">
598 679
                            <TextBlock.RenderTransform>
599 680
                                <TransformGroup>
600
                                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
601
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
602
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
681
                                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
603 682
                                </TransformGroup>
604 683
                            </TextBlock.RenderTransform>
605 684
                        </TextBlock>
......
613 692
        <Setter Property="Template">
614 693
            <Setter.Value>
615 694
                <ControlTemplate TargetType="Etc:SignControl">
616
                    <Image x:Name="PART_Image"  Source="{TemplateBinding SignImage}" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
695
                    <Image
696
                        x:Name="PART_Image"
697
                        RenderTransformOrigin="0.5,0.5"
698
                        Source="{TemplateBinding SignImage}"
699
                        Stretch="Fill">
617 700
                        <Image.RenderTransform>
618 701
                            <TransformGroup>
619
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
620
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
621
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
702
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
622 703
                            </TransformGroup>
623 704
                        </Image.RenderTransform>
624 705
                    </Image>
......
631 712
        <Setter Property="Template">
632 713
            <Setter.Value>
633 714
                <ControlTemplate TargetType="Etc:ImgControl">
634
                    <Image x:Name="PART_Image"  Source="{TemplateBinding ImageData}" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
715
                    <Image
716
                        x:Name="PART_Image"
717
                        RenderTransformOrigin="0.5,0.5"
718
                        Source="{TemplateBinding ImageData}"
719
                        Stretch="Fill">
635 720
                        <Image.RenderTransform>
636 721
                            <TransformGroup>
637
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
638
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
639
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
722
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
640 723
                            </TransformGroup>
641 724
                        </Image.RenderTransform>
642 725
                    </Image>
......
645 728
        </Setter>
646 729
    </Style>
647 730

  
648
    <!--강인구 추가-->
731
    <!--  강인구 추가  -->
649 732
    <Style TargetType="Etc:SymControl">
650 733
        <Setter Property="Template">
651 734
            <Setter.Value>
652 735
                <ControlTemplate TargetType="Etc:SymControl">
653 736
                    <Viewbox x:Name="PART_ViewBox">
654
                        <Path x:Name="PART_SymPath"  Stroke="{TemplateBinding StrokeColor}"  StrokeThickness="{TemplateBinding LineSize}"
655
                          Data="{TemplateBinding PathData}"
656
                              RenderTransformOrigin="0.5,0.5">
737
                        <Path
738
                            x:Name="PART_SymPath"
739
                            Data="{TemplateBinding PathData}"
740
                            RenderTransformOrigin="0.5,0.5"
741
                            Stroke="{TemplateBinding StrokeColor}"
742
                            StrokeThickness="{TemplateBinding LineSize}">
657 743
                            <Path.RenderTransform>
658 744
                                <TransformGroup>
659
                                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
660
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
661
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
745
                                    <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
662 746
                                </TransformGroup>
663 747
                            </Path.RenderTransform>
664 748
                        </Path>
......
672 756
        <Setter Property="Template">
673 757
            <Setter.Value>
674 758
                <ControlTemplate TargetType="Etc:SymControlN">
675
                    <Viewbox x:Name="PART_ViewBox" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
759
                    <Viewbox
760
                        x:Name="PART_ViewBox"
761
                        RenderTransformOrigin="0.5,0.5"
762
                        Stretch="Fill">
676 763
                        <Viewbox.RenderTransform>
677 764
                            <TransformGroup>
678
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent} }"
679
                                                 CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
680
                                                 CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
765
                                <RotateTransform Angle="{Binding Angle, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterX="{Binding CenterX, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" CenterY="{Binding CenterY, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
681 766
                            </TransformGroup>
682 767
                        </Viewbox.RenderTransform>
683 768
                    </Viewbox>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)