프로젝트

일반

사용자정보

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

markus / KCOM / Views / TopMenu.xaml.bak @ d71ee575

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

1
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.TopMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:common="clr-namespace:KCOM.Common"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             xmlns:local="clr-namespace:KCOM.Views"
7
             mc:Ignorable="d" 
8
             d:DesignHeight="250" d:DesignWidth="1600">
9
    <UserControl.Resources>
10
        <Style TargetType="telerik:RadToggleButton">
11
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
12
            <Setter Property="BorderThickness" Value="0"/>
13
            <Setter Property="Background" Value="Transparent"/>
14
        </Style>
15
        <Style TargetType="telerik:RadRibbonComboBox">
16
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
17
        </Style>
18
        <Style TargetType="telerik:RadRibbonButton">
19
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
20
        </Style>
21
        <Style TargetType="telerik:RadRibbonToggleButton">
22
            <Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/>
23
        </Style>
24
    </UserControl.Resources>
25
    <Grid>
26
        <telerik:RadRibbonView  Title="KCOM" ApplicationName="세부 내용 입력란" TitleBarVisibility="Collapsed" VerticalAlignment="Top" telerik:StyleManager.Theme="Office2016"
27
                                ApplicationButtonVisibility="Collapsed" BorderThickness="0.5" SelectedIndex="1"
28
                                x:Name="radRibbonView" MaxHeight="Infinity" IsApplicationMenuOpen="False" IsBackstageOpen="False" IsMinimizable="True" IsMinimized="False" 
29
                                QuickAccessToolBarPosition="AboveRibbon" MinimizeButtonVisibility="Visible">
30
            <!--<telerik:RadRibbonView.QuickAccessToolBar>
31
                <telerik:QuickAccessToolBar telerik:StyleManager.Theme="Office2016">
32
                    <telerik:QuickAccessToolBar>
33
                        <telerik:RadRibbonButton Text="Save" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
34
                                        Size="Small"
35
                                        telerik:KeyTipService.AccessText="1" />
36
                        <telerik:RadRibbonButton Text="Undo" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
37
                                        Size="Small"
38
                                        telerik:KeyTipService.AccessText="2" />
39
                        <telerik:RadRibbonButton Text="Print" SmallImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png"
40
                                        Size="Small"
41
                                        telerik:KeyTipService.AccessText="3" />
42
                    </telerik:QuickAccessToolBar>
43
                </telerik:QuickAccessToolBar>
44
            </telerik:RadRibbonView.QuickAccessToolBar>-->
45
            <telerik:RadRibbonView.BorderBrush>
46
                <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/>
47
            </telerik:RadRibbonView.BorderBrush>
48
            
49
            <telerik:RadRibbonTab Header="HOME" Visibility="Visible">                
50
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
51
                                        telerik:ScreenTip.Description="Show the File Task options."
52
                                        telerik:ScreenTip.Title="File"
53
                                        Visibility="Visible">
54
                    <telerik:RadOrderedWrapPanel>
55
                        <StackPanel Orientation="Horizontal">
56
                            <telerik:RadRibbonButton Content="Print" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png" Click="PrintEvent"/>
57
                            <telerik:RadRibbonButton Content="To PDF"  Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png" Click="PrintEvent"/>
58
                            <telerik:RadRibbonButton Content="SAVE"  Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette.png" Click="SaveEvent"/>
59
                            <!--<telerik:RadRibbonButton Content="GO"  
60
                                                 LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
61
                                                 Size="Large"/>-->
62
                        </StackPanel>
63
                    </telerik:RadOrderedWrapPanel>
64
                    <!--<telerik:RadCollapsiblePanel>
65
                        <telerik:RadRibbonButton
66
                                                       CollapseToMedium="WhenGroupIsMedium"
67
                                                       CollapseToSmall="WhenGroupIsSmall"
68
                                                       CommandParameter="Print"
69
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
70
                                                       Size="Medium"
71
                                                       Tag="Print"
72
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
73
                                                       telerik:ScreenTip.Title="Free Mark Pen"
74
                                                       Text="Print" />
75
                        <telerik:RadRibbonButton
76
                                                       CollapseToMedium="WhenGroupIsMedium"
77
                                                       CollapseToSmall="WhenGroupIsSmall"
78
                                                       CommandParameter="PDF"
79
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png"
80
                                                       Size="Medium"
81
                                                       Tag="PDF"
82
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
83
                                                       telerik:ScreenTip.Title="Free Mark Pen"
84
                                                       Text="PDF" />
85
                    </telerik:RadCollapsiblePanel>-->
86
                </telerik:RadRibbonGroup>
87
                <!--<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
88
                                        telerik:ScreenTip.Description="Show the File Task options."
89
                                        telerik:ScreenTip.Title="File"
90
                                        Visibility="Visible">
91
                    <telerik:RadCollapsiblePanel>-->
92
                        <!--<telerik:RadRibbonButton
93
                                                       CollapseToMedium="WhenGroupIsMedium"
94
                                                       CollapseToSmall="WhenGroupIsSmall"
95
                                                       CommandParameter="Print"
96
                                                       Size="Medium"
97
                                                       Tag="Print" x:Name="btnFromFile" Click="btnFromFile_Click"
98
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
99
                                                       telerik:ScreenTip.Title="Free Mark Pen"
100
                                                       Text="From File" />-->
101
                        <!--<telerik:RadRibbonButton
102
                                                       CollapseToMedium="WhenGroupIsMedium"
103
                                                       CollapseToSmall="WhenGroupIsSmall"
104
                                                       CommandParameter="PDF"
105
                                                       Size="Medium" Click="btnSync_Click"
106
                                                       Tag="PDF" x:Name="btnSync"
107
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
108
                                                       telerik:ScreenTip.Title="Free Mark Pen"
109
                                                       Text="Sync" />-->
110
                    <!--</telerik:RadCollapsiblePanel>
111
                </telerik:RadRibbonGroup>-->
112
            </telerik:RadRibbonTab>
113
            
114
            <telerik:RadRibbonTab Header="COMMENT">
115
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
116
                                        Header="LINE" 
117
                                        Icon="/KCOM;component/Resources/Images/MenuImage/1.png"
118
                                        telerik:ScreenTip.Description="Show the File Task options."
119
                                        telerik:ScreenTip.Title="File"
120
                                        Visibility="Visible">
121
                    <!--<telerik:RadCollapsiblePanel>
122
                        <telerik:RadToggleButton Width="25"
123
                                                 Height="22"
124
                                                 CommandParameter="Line"
125
                                                 Tag="Line3"
126
                                                 telerik:ScreenTip.Description="직선의 선을 그립니다"
127
                                                 telerik:ScreenTip.Title="Line(Straight)">
128
                            <Image Source="/KCOM;component/Resources/Images/MenuImage/Line.png" />
129
                        </telerik:RadToggleButton>
130
                    </telerik:RadCollapsiblePanel>-->
131
                    <telerik:RadOrderedWrapPanel >
132
                        <StackPanel Orientation="Horizontal" >
133
                            <telerik:RadToggleButton CommandParameter="Line" Tag="Line3" Width="32" Height="32" Click="ControlEvent">
134
                               <Image Source="/KCOM;component/Resources/Images/MenuImage_New/line.png" />
135
                            </telerik:RadToggleButton>
136
                            <telerik:RadToggleButton CommandParameter="Arrow" Tag="Normal" Width="32" Height="32" Click="ControlEvent">
137
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Arrow.png" />
138
                                </telerik:RadToggleButton>
139
                            <telerik:RadToggleButton CommandParameter="ArrowMulti" Tag="Normal" Width="32" Height="32" Click="ControlEvent">
140
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowTrans.png" />
141
                                </telerik:RadToggleButton>
142
                            <telerik:RadToggleButton CommandParameter="ChainLine" Tag="Chain" Width="32" Height="32" Click="ControlEvent">
143
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineChain.png" />
144
                                </telerik:RadToggleButton>
145
                        </StackPanel>
146
                        <StackPanel Orientation="Horizontal">
147
                            <telerik:RadToggleButton CommandParameter="TwinLine" Tag="Arrow" Width="32" Height="32" Click="ControlEvent">
148
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimension.png" />
149
                            </telerik:RadToggleButton>
150
                            <telerik:RadToggleButton CommandParameter="DimLine" Tag="Dim" Width="32" Height="32" Click="ControlEvent">
151
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimensionEx.png" />
152
                             </telerik:RadToggleButton>
153
                            <telerik:RadToggleButton CommandParameter="CancelLine" Tag="Line3" Width="32" Height="32" Click="ControlEvent">
154
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineDelete.png" />
155
                                </telerik:RadToggleButton>
156
                            <telerik:RadToggleButton CommandParameter="Arc" Tag="Arc" Width="32" Height="32" Click="ControlEvent">
157
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_New/arc.png" />
158
                            </telerik:RadToggleButton>
159
                        </StackPanel>
160
                    </telerik:RadOrderedWrapPanel>
161
                </telerik:RadRibbonGroup>
162
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
163
                                        Header="SHAPE"
164
                                        telerik:ScreenTip.Description="Show the File Task options."
165
                                        telerik:ScreenTip.Title="File"
166
                                        Visibility="Visible">
167
                    <telerik:RadOrderedWrapPanel>
168
                        <StackPanel Orientation="Horizontal">
169
                            <telerik:RadToggleButton CommandParameter="PolygonCloud" Tag="Cloud" Width="32" Height="32" Click="ControlEvent">
170
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Cloud.png" />
171
                            </telerik:RadToggleButton>
172
                            <telerik:RadToggleButton CommandParameter="RectCloud" Tag="RectCloud" Width="32" Height="32" Click="ControlEvent">
173
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" />
174
                            </telerik:RadToggleButton>
175
                            <telerik:RadToggleButton CommandParameter="Polygon" Tag="Poly" Width="32" Height="32" Click="ControlEvent">
176
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/polygon.png" />
177
                            </telerik:RadToggleButton>
178
					<!--강인구 추가-->
179
                            <CheckBox Margin="10,0,5,0" HorizontalAlignment="Left" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />
180
                            <CheckBox Margin="0,0,5,0" HorizontalAlignment="Left" Content="Hatch" Checked="HatchShapeEvent" Unchecked="HatchShapeEvent" x:Name="cbHatchShape" IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}"/>
181
                        </StackPanel>
182
                        <StackPanel Orientation="Horizontal">
183
                            <telerik:RadToggleButton CommandParameter="Rectangle" Tag="RectShape" Width="32" Height="32" Click="ControlEvent">
184
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" />
185
                            </telerik:RadToggleButton>
186
                            <telerik:RadToggleButton CommandParameter="Triangle" Tag="TriShape" Width="32" Height="32" Click="ControlEvent">
187
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/triangle.png" />
188
                            </telerik:RadToggleButton>
189
                            <telerik:RadToggleButton CommandParameter="Circle" Tag="CicleShape" Width="32" Height="32" Click="ControlEvent">
190
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/circle.png" />
191
                            </telerik:RadToggleButton>
192
                            <StackPanel>
193
                                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Opacity" FontSize="10" Margin="0,-10,0,5"/>
194
                                <telerik:RadSlider HorizontalAlignment="Center" Width="100" Margin="10,-5,10,0" telerik:StyleManager.Theme="VisualStudio2013" Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}"
195
                                                   Maximum="1" Minimum="0" HandlesVisibility="Visible" VerticalAlignment="Center" ValueChanged="sdOpacity_ValueChanged"/>
196
                            </StackPanel>
197
                        </StackPanel>
198
                    </telerik:RadOrderedWrapPanel>
199
                </telerik:RadRibbonGroup>
200
                <telerik:RadRibbonGroup Header="TEXT">
201
                    <Grid Margin="0,-1,0,0">
202
                        <Grid.ColumnDefinitions>
203
                            <ColumnDefinition/>
204
                            <ColumnDefinition/>
205
                            <ColumnDefinition/>
206
                            <ColumnDefinition/>
207
                        </Grid.ColumnDefinitions>
208
                        <Grid.RowDefinitions>
209
                            <RowDefinition/>
210
                            <RowDefinition/>
211
                            <RowDefinition/>
212
                        </Grid.RowDefinitions>
213
                        <telerik:RadToggleButton Width="30" Height="30" Click="ControlEvent" CommandParameter="Text" Tag="Normal">
214
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/text.png" />
215
                        </telerik:RadToggleButton>
216
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Click="ControlEvent" CommandParameter="TextBorder" Tag="Border">
217
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textBorder.png" />
218
                        </telerik:RadToggleButton>
219
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Click="ControlEvent" CommandParameter="TextCloud" Tag="Cloud">
220
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/textCloud.png" />
221
                        </telerik:RadToggleButton>
222
                        <CheckBox HorizontalAlignment="Left" Content="Highlight" Grid.Column="3" VerticalAlignment="Center" Margin="2,5,2,0" Checked="HighlightEvent" Unchecked="HighlightEvent"/>
223

    
224
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Normal">
225
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowText.png" />
226
                        </telerik:RadToggleButton>
227
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Border">
228
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
229
                        </telerik:RadToggleButton>
230
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Cloud">
231
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTextCloud.png" />
232
                        </telerik:RadToggleButton>
233

    
234
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Normal">
235
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextTrans.png" />
236
                        </telerik:RadToggleButton>
237
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Border">
238
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransBorder.png" />
239
                        </telerik:RadToggleButton>
240
                        <telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Cloud">
241
                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransCloud.png" />
242
                        </telerik:RadToggleButton>
243
                    </Grid>
244
                </telerik:RadRibbonGroup>
245
                <telerik:RadRibbonGroup Header="FONT">
246
                    <telerik:RadOrderedWrapPanel>
247
                        <StackPanel Orientation="Horizontal">
248
						<!--강인구 추가-->
249
                            <telerik:RadRibbonComboBox Width="95" Name="comboFontFamily" SelectedIndex="0" telerik:ScreenTip.Title="Font" telerik:ScreenTip.Description="Change the font face." SelectionChanged="RadRibbonComboBox_SelectionChanged">
250
                                <telerik:RadRibbonComboBoxItem Content="Arial"/>
251
                                <telerik:RadRibbonComboBoxItem Content="Calibri (Body)" />
252
                                <telerik:RadRibbonComboBoxItem Content="Tahoma" />
253
                                <telerik:RadRibbonComboBoxItem Content="Verdana"  />
254
                                <telerik:RadRibbonComboBoxItem Content="Times New Roman" />
255
                                <telerik:RadRibbonComboBoxItem Content="Cambria" />
256
                            </telerik:RadRibbonComboBox>
257
                                                        <!--강인구 추가(이벤트)-->
258
                            <telerik:RadRibbonComboBox Name="comboFontSize" Width="45" SelectedIndex="0" telerik:ScreenTip.Title="Font Size"  telerik:ScreenTip.Description="Change the font size." SelectionChanged="comboFontSize_SelectionChanged">
259
                                <telerik:RadRibbonComboBoxItem Content="8" />
260
                                <telerik:RadRibbonComboBoxItem Content="9" />
261
                                <telerik:RadRibbonComboBoxItem Content="10" />
262
                                <telerik:RadRibbonComboBoxItem Content="11" />
263
                                <telerik:RadRibbonComboBoxItem Content="12" />
264
                                <telerik:RadRibbonComboBoxItem Content="14" />
265
                                <telerik:RadRibbonComboBoxItem Content="16" />
266
                                <telerik:RadRibbonComboBoxItem Content="18" />
267
                                <telerik:RadRibbonComboBoxItem Content="20" />
268
                                <telerik:RadRibbonComboBoxItem Content="30" />
269
                                <telerik:RadRibbonComboBoxItem Content="40" />
270
                                <telerik:RadRibbonComboBoxItem Content="50" />
271
                                <telerik:RadRibbonComboBoxItem Content="60" />
272
                                <telerik:RadRibbonComboBoxItem Content="70" />
273
                                <telerik:RadRibbonComboBoxItem Content="80" />
274
                                <telerik:RadRibbonComboBoxItem Content="90" />
275
                                <telerik:RadRibbonComboBoxItem Content="100" />
276
                            </telerik:RadRibbonComboBox>
277
                        </StackPanel>
278
                        <!--<telerik:RadButtonGroup>
279
                            <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/bold.png" telerik:ScreenTip.Title="Grow Font" />
280
                            <telerik:RadRibbonButton SmallImage="/RadRibbonViewSample;component/Images/IconMSOffice/16/font-decreasesize.png" telerik:ScreenTip.Title="Shrink Font" />
281
                        </telerik:RadButtonGroup>-->
282
                        <!--<telerik:RadButtonGroup>
283
                            <telerik:RadRibbonButton SmallImage="/RadRibbonViewSample;component/Images/IconMSOffice/16/ClearFormatting16.png" Text="Clear Formatting" telerik:ScreenTip.Title="Clear Formatting" />
284
                        </telerik:RadButtonGroup>-->
285
                        <!--<telerik:RadButtonGroup telerik:StyleManager.Theme="Office2016">-->
286
                        <!--강인구 추가(이벤트)-->
287
                        <telerik:RadToggleButton x:Name="btnBold" telerik:ScreenTip.Title="Bold" telerik:ScreenTip.Description="Make the selected text bold." Width="32" Height="32" Checked="btnBold_Checked">
288
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/bold.png" />
289
                            </telerik:RadToggleButton>
290
                        <!--강인구 추가(이벤트)-->
291
                        <telerik:RadToggleButton  x:Name="btnItalic"  telerik:ScreenTip.Title="Italic" telerik:ScreenTip.Description="Italicize the selected text." Width="32" Height="32" Checked="btnItalic_Checked">
292
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/italic.png"/>
293
                            </telerik:RadToggleButton>
294
						<!--강인구 추가(이벤트)-->
295
                        <telerik:RadToggleButton  x:Name="btnUnderLine" Width="32" Height="32" telerik:ScreenTip.Title="Underline" telerik:ScreenTip.Description="Underline the selected text." Checked="btnUnderLine_Checked">
296
                                <Image Source="/KCOM;component/Resources/Images/MenuImage_new/underline.png" Margin="0,0.2,0,0"/>
297
                            </telerik:RadToggleButton>
298
                        <!--</telerik:RadButtonGroup>-->
299
                        <!--<CheckBox Margin="10,3,5,0" HorizontalAlignment="Left" Content="Highlight" VerticalAlignment="Center"/>--><!--
300
                        <telerik:RadButton Content="LIBRARY" Background="{DynamicResource KCOMColor_MarkerBrush}" Foreground="White" Margin="5,5,0,0" Padding="3"/>-->
301
                    </telerik:RadOrderedWrapPanel>
302
                </telerik:RadRibbonGroup>
303
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
304
                                        Header="PEN"
305
                                        IsEnabled="True"
306
                                        telerik:ScreenTip.Description="펜 툴을 이용하여 그릴 수 있습니다"
307
                                        telerik:ScreenTip.Title="Pen">
308
                    <telerik:RadCollapsiblePanel>
309
                        <telerik:RadRibbonToggleButton 
310
                                                       CollapseToMedium="WhenGroupIsMedium"
311
                                                       CollapseToSmall="WhenGroupIsSmall"
312
                                                       CommandParameter="Ink"
313
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/pen.png"
314
                                                       Size="Large"
315
                                                       Click="ControlEvent"
316
                                                       Tag="Pensil"
317
                                                       telerik:ScreenTip.Description="기본 펜을 사용합니다"
318
                                                       telerik:ScreenTip.Title="Free Mark Pen"
319
                                                       Text="Pen" />
320
                        <telerik:RadRibbonToggleButton 
321
                                                       CollapseToMedium="WhenGroupIsMedium"
322
                                                       CollapseToSmall="WhenGroupIsSmall"
323
                                                       CommandParameter="Select"
324
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
325
                                                       Size="Medium"
326
                                                       Click="ControlEvent"
327
                                                       Tag="Ink"
328
                                                       telerik:ScreenTip.Description="범위를 선택하여 그린 펜을 선택합니다"
329
                                                       telerik:ScreenTip.Title="Select Ink Strokes"
330
                                                       Text="Selection" />
331
                        <telerik:RadRibbonToggleButton 
332
                                                       CollapseToMedium="WhenGroupIsMedium"
333
                                                       CollapseToSmall="WhenGroupIsSmall"
334
                                                       CommandParameter="Ink"                                
335
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraserLine.png"
336
                                                       Size="Medium"
337
                                                       Click="ControlEvent"
338
                                                       Tag="EraserClear"
339
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 점 단위로 제거합니다"
340
                                                       telerik:ScreenTip.Title="Dot Unit Eraser"
341
                                                       Text="Eraser(Dot)" />
342
                        <telerik:RadRibbonToggleButton 
343
                                                       CollapseToMedium="WhenGroupIsMedium"
344
                                                       CollapseToSmall="WhenGroupIsSmall"
345
                                                       CommandParameter="Ink"
346
                                                       LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
347
                                                       Size="Medium"
348
                                                       Click="ControlEvent"
349
                                                       Tag="Eraser"
350
                                                       telerik:ScreenTip.Description="펜으로 그린 부분을 선 단위로 적으로 제거합니다"
351
                                                       telerik:ScreenTip.Title="Path Unit Eraser"
352
                                                       Text="Eraser(Path)" />
353
                    </telerik:RadCollapsiblePanel>
354
                </telerik:RadRibbonGroup>
355
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
356
                                        Header="Approval Stamp"
357
                                        telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다"
358
                                        telerik:ScreenTip.Title="Approval">
359
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
360
                        <!--강인구 추가 Mark Click 이벤트 추가-->
361
                        <telerik:RadRibbonToggleButton MaxWidth="100"
362
                                                       CollapseToSmall="WhenGroupIsMedium"
363
                                                       CommandParameter="Shape"
364
                                                       Size="Medium"
365
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markRect.png"
366
                                                       Tag="RectShape_Fill"
367
                                                       telerik:ScreenTip.Description="사각마크를 쉽게 그립니다"
368
                                                       telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent"
369
                                                       Text="Mark" />
370
                        <!--강인구 추가 Stamp Click 이벤트 추가-->
371
                        <telerik:RadRibbonToggleButton MaxWidth="100"
372
                                                       CollapseToSmall="WhenGroupIsMedium"
373
                                                       CommandParameter="SymbolN"
374
                                                       Size="Medium"
375
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/stamp.png"
376
                                                       Tag="approved" Visibility="Collapsed"
377
                                                       telerik:ScreenTip.Description="Approved를 쉽게 그립니다"
378
                                                       telerik:ScreenTip.Title="Approved"  Click="ControlEvent"
379
                                                       Text="Stamp" />
380
                        <!--강인구 추가 Sign Click 이벤트 추가-->
381
                        <telerik:RadRibbonToggleButton MaxWidth="100"
382
                                                       CollapseToSmall="WhenGroupIsMedium"
383
                                                       CommandParameter="Sign"
384
                                                       Size="Medium"
385
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/signReal.png"
386
                                                       Tag="Sign"
387
                                                       telerik:ScreenTip.Description="Signature를 쉽게 그립니다"
388
                                                       telerik:ScreenTip.Title="Signature" Click="ControlEvent"
389
                                                       Text="Sign." />
390
                        <!--강인구 추가 check Click 이벤트 추가-->
391
                        <telerik:RadRibbonToggleButton MaxWidth="100"
392
                                                       CollapseToSmall="WhenGroupIsMedium"
393
                                                       CommandParameter="Check"
394
                                                       Size="Medium"
395
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png"
396
                                                       Tag="Check"
397
                                                       telerik:ScreenTip.Description="체크마크를 쉽게 그립니다"
398
                                                       telerik:ScreenTip.Title="Check Mark" Click="ControlEvent"
399
                                                       Text="Check" />
400
                        <telerik:RadRibbonToggleButton MaxWidth="100"
401
                                                       CollapseToSmall="WhenGroupIsMedium"
402
                                                       CommandParameter="Image"
403
                                                       Size="Medium" Click="ControlEvent"
404
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/Picture.png"
405
                                                       Tag="Image"
406
                                                       telerik:ScreenTip.Description="Image를 쉽게 추가합니다"
407
                                                       telerik:ScreenTip.Title="Image"
408
                                                       Text="Image" />
409
                        <telerik:RadRibbonToggleButton MaxWidth="100"
410
                                                       CollapseToSmall="WhenGroupIsMedium"
411
                                                       CommandParameter="Date"
412
                                                       Size="Medium"
413
                                                       SmallImage="/KCOM;component/Resources/Images/MenuImage_New/calendar.png"
414
                                                       Tag="Date" Click="ControlEvent"
415
                                                       telerik:ScreenTip.Description="날짜를 삽입합니다"
416
                                                       telerik:ScreenTip.Title="Date"
417
                                                       Text="Date" />
418

    
419
                    </telerik:RadCollapsiblePanel>
420
                </telerik:RadRibbonGroup>
421
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
422
                                        Header="Adjustment (Line,Shape)"
423
                                        telerik:ScreenTip.Description="선,도형 관련 옵션을 지정합니다"
424
                                        telerik:ScreenTip.Title="Adjustment(Line,Shape)">
425
                    <telerik:RadOrderedWrapPanel Margin="3,0,3,0">
426
                        <telerik:RadButtonGroup Height="30"
427
                                                BorderThickness="1"
428
                                                telerik:StyleManager.Theme="Windows8">
429
                            <TextBlock Width="60"
430
                                       Margin="2"
431
                                       HorizontalAlignment="Center"
432
                                       VerticalAlignment="Center"
433
                                       FontSize="10"
434
                                       Text="Style"
435
                                       TextAlignment="Center" />
436
                            <telerik:RadComboBox x:Name="cbDashStyle"
437
                                                 Width="70" Margin="5,0,5,0"
438
                                                 SelectedIndex="0" Background="Transparent"
439
                                                 telerik:StyleManager.Theme="Office2016"
440
                                                 ToolTipService.ToolTip="Dash Style"
441
                                                 SelectionChanged="cbDashStyle_SelectionChanged"
442
                                                 >
443
                                <telerik:RadComboBox.ItemTemplate>
444
                                    <DataTemplate>
445
                                        <StackPanel Height="10"
446
                                                    Margin="5"
447
                                                    VerticalAlignment="Center">
448
                                            <Line Stroke="Red"
449
                                                  StrokeDashArray="{Binding dashData}"
450
                                                  StrokeDashOffset="1"
451
                                                  StrokeThickness="2"
452
                                                  X1="0"
453
                                                  X2="150"
454
                                                  Y1="5"
455
                                                  Y2="5" />
456
                                        </StackPanel>
457
                                    </DataTemplate>
458
                                </telerik:RadComboBox.ItemTemplate>
459
                            </telerik:RadComboBox>
460
                        </telerik:RadButtonGroup>
461
                        <telerik:RadButtonGroup Height="30"
462
                                                BorderThickness="1"
463
                                                telerik:StyleManager.Theme="Windows8">
464
                            <TextBlock Width="60"
465
                                       Margin="2"
466
                                       HorizontalAlignment="Center"
467
                                       VerticalAlignment="Center"
468
                                       FontSize="10"
469
                                       Text="Thickness"
470
                                       TextAlignment="Center" />
471
                            <telerik:RadNumericUpDown x:Name="cbLineSize"
472
                                                      Width="77"
473
                                                      Height="22"
474
                                                      Margin="2"
475
                                                      HorizontalAlignment="Stretch"
476
                                                      VerticalAlignment="Center"
477
                                                      HorizontalContentAlignment="Center"
478
                                                      Maximum="10"
479
                                                      Minimum="1"
480
                                                      NumberDecimalDigits="0"
481
                                                      telerik:StyleManager.Theme="Windows7"
482
                                                      ToolTipService.ToolTip="Stoke Value"
483
													  ValueChanged="cbLineSize_ValueChanged"
484
                                                      
485
                                                      Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}"
486
                                                      />
487
                        </telerik:RadButtonGroup>
488
                    </telerik:RadOrderedWrapPanel>
489
                </telerik:RadRibbonGroup>
490

    
491
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
492
                                        Header="IK Test" Visibility="Collapsed"
493
                                        telerik:ScreenTip.Description="인구 테스트 기능"
494
                                        telerik:ScreenTip.Title="Approval">
495
                    <telerik:RadCollapsiblePanel Margin="3,0,3,0">
496
                        <!--강인구 추가 Mark Click 이벤트 추가-->
497
                        <telerik:RadRibbonToggleButton MaxWidth="100"
498
                                                       CollapseToSmall="WhenGroupIsMedium"
499
                                                       Size="Medium"
500
                                                       Tag="AutoSave"
501
                                                       telerik:ScreenTip.Description="자동 저장을 합니다."
502
                                                       telerik:ScreenTip.Title="Auto Save" Click="AutoSave"
503
                                                       Text="AutoSave" />
504

    
505
                    </telerik:RadCollapsiblePanel>
506
                </telerik:RadRibbonGroup>
507
            </telerik:RadRibbonTab>
508
            
509
            <telerik:RadRibbonTab Header="VIEW">
510
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ZOOM"
511
                                        telerik:ScreenTip.Description="Show the File Task options."
512
                                        telerik:ScreenTip.Title="File"
513
                                        Visibility="Visible">
514
                    <telerik:RadOrderedWrapPanel>
515
                        <StackPanel Orientation="Horizontal">
516
                            <!--<telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Margin="0,0,5,0" Width="30" Height="30"/>
517
                            <telerik:RadRibbonButton Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Margin="5,0"/>-->
518
                            <!--<telerik:RadComboBox Background="White"  VerticalAlignment="Center" Padding="5" SelectedIndex="4" Width="75" telerik:StyleManager.Theme="Office2016" Margin="5,0">
519
                                <telerik:RadComboBox.Items>
520
                                    <telerik:RadComboBoxItem Content="10%"/>
521
                                    <telerik:RadComboBoxItem Content="20%"/>
522
                                    <telerik:RadComboBoxItem Content="50%"/>
523
                                    <telerik:RadComboBoxItem Content="75%"/>
524
                                    <telerik:RadComboBoxItem Content="100%"/>
525
                                    <telerik:RadComboBoxItem Content="200%"/>
526
                                </telerik:RadComboBox.Items>
527
                            </telerik:RadComboBox>-->
528
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomout">
529
                                <telerik:RadButton.Content>
530
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
531
                                </telerik:RadButton.Content>
532
                            </telerik:RadButton>
533

    
534
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="zoomin">
535
                                <telerik:RadButton.Content>
536
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/plus.png" Stretch="Uniform" Width="26" Height="26"/>
537
                                </telerik:RadButton.Content>
538
                            </telerik:RadButton>
539
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitWidth">
540
                                <telerik:RadButton.Content>
541
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownWidth.png" Stretch="Uniform" Width="26" Height="26"/>
542
                                </telerik:RadButton.Content>
543
                            </telerik:RadButton>
544

    
545
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="fitHeight">
546
                                <telerik:RadButton.Content>
547
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/fitWindownHeight.png" Stretch="Uniform" Width="26" Height="26"/>
548
                                </telerik:RadButton.Content>
549
                            </telerik:RadButton>
550

    
551
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0"  Click="viewEvent" CommandParameter="fullscreen">
552
                                <telerik:RadButton.Content>
553
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/expand.png" Stretch="Uniform" Width="26" Height="26"/>
554
                                </telerik:RadButton.Content>
555
                            </telerik:RadButton>
556

    
557
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="boundzoom">
558
                                <telerik:RadButton.Content>
559
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/zoom-in-tool.png" Stretch="Uniform" Width="26" Height="26"/>
560
                                </telerik:RadButton.Content>
561
                            </telerik:RadButton>
562

    
563
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PanoramaEvent">
564
                                <telerik:RadButton.Content>
565
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/panorama.png" Stretch="Uniform" Width="26" Height="26"/>
566
                                </telerik:RadButton.Content>
567
                            </telerik:RadButton>
568
                        </StackPanel>
569
                    </telerik:RadOrderedWrapPanel>
570
                </telerik:RadRibbonGroup>
571

    
572
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="ROTATE"
573
                                        telerik:ScreenTip.Description="Show the File Task options."
574
                                        telerik:ScreenTip.Title="File"
575
                                        Visibility="Visible">
576
                    <telerik:RadOrderedWrapPanel>
577
                        <StackPanel Orientation="Horizontal">
578

    
579
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_M">
580
                                <telerik:RadButton.Content>
581
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Minus.png" Stretch="Uniform" Width="26" Height="26"/>
582
                                </telerik:RadButton.Content>
583
                            </telerik:RadButton>
584

    
585
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_P">
586
                                <telerik:RadButton.Content>
587
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_New/Rotate_Plus.png" Stretch="Uniform" Width="26" Height="26"/>
588
                                </telerik:RadButton.Content>
589
                            </telerik:RadButton>
590

    
591
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="viewEvent" CommandParameter="Rotate_half">
592
                                <telerik:RadButton.Content>
593
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/flip.png" Stretch="Uniform" Width="26" Height="26"/>
594
                                    
595
                                </telerik:RadButton.Content>
596
                            </telerik:RadButton>
597

    
598
                        </StackPanel>
599
                    </telerik:RadOrderedWrapPanel>
600
                </telerik:RadRibbonGroup>
601

    
602
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
603
                                        telerik:ScreenTip.Description="Show the File Task options."
604
                                        telerik:ScreenTip.Title="File" Header="PAGE"
605
                                        Visibility="Visible">
606
                    <telerik:RadOrderedWrapPanel>
607
                        <StackPanel Orientation="Horizontal">
608
                            <TextBox Text="1" Width="30" Padding="0" VerticalAlignment="Center" HorizontalContentAlignment="Center"  Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/>
609
                            <TextBlock Text="/"  Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
610
                            <TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" x:Name="tlPageCount"/>
611
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Down">
612
                                <telerik:RadButton.Content>
613
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26"/>
614
                                </telerik:RadButton.Content>
615
                            </telerik:RadButton>
616
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="PageGoEvent" CommandParameter="Up"> 
617
                                <telerik:RadButton.Content>
618
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/pagearrow.png" Stretch="Uniform" Width="26" Height="26" RenderTransformOrigin="0.5,0.5">
619
                                        <Image.RenderTransform>
620
                                            <RotateTransform Angle="180"/>
621
                                        </Image.RenderTransform>
622
                                    </Image>
623
                                </telerik:RadButton.Content>
624
                            </telerik:RadButton>
625
                        </StackPanel>
626
                    </telerik:RadOrderedWrapPanel>
627
                </telerik:RadRibbonGroup>
628
            </telerik:RadRibbonTab>
629
            
630
            <telerik:RadRibbonTab Header="COMMENT MANAGER">
631
                <telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed"
632
                                        telerik:ScreenTip.Description="Show the File Task options."
633
                                        telerik:ScreenTip.Title="File" Header="MANAGER"
634
                                        Visibility="Visible">
635
                    <telerik:RadOrderedWrapPanel>
636
                        <StackPanel Orientation="Horizontal">
637
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="CheckEvent" CommandParameter="Check">
638
                                <telerik:RadButton.Content>
639
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/checklist.png" Stretch="Uniform" Width="26" Height="26"/>
640
                                </telerik:RadButton.Content>
641
                            </telerik:RadButton>
642
                        </StackPanel>
643
                    </telerik:RadOrderedWrapPanel>
644

    
645
                    <!--<telerik:RadOrderedWrapPanel>
646
                        <StackPanel Orientation="Horizontal">
647
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
648
                                <telerik:RadButton.Content>
649
                                    <TextBlock Text="CommentList" />
650
                                </telerik:RadButton.Content>
651
                            </telerik:RadButton>
652
                        </StackPanel>
653
                    </telerik:RadOrderedWrapPanel>-->
654

    
655
                    <!--<telerik:RadOrderedWrapPanel>
656
                        <StackPanel Orientation="Horizontal">
657
                            <telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
658
                                <telerik:RadButton.Content>
659
                                    <TextBlock Text="Compare" />
660
                                </telerik:RadButton.Content>
661
                            </telerik:RadButton>
662
                        </StackPanel>
663
                    </telerik:RadOrderedWrapPanel>-->
664
                </telerik:RadRibbonGroup>
665
                <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0" Click="CheckEvent">-->
666
                                <!--<telerik:RadButton.Content>
667
                                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/minus.png" Stretch="Uniform" Width="26" Height="26"/>
668
                                </telerik:RadButton.Content>-->
669
                            <!--</telerik:RadButton>-->
670
            </telerik:RadRibbonTab>
671

    
672
            <telerik:RadRibbonTab Header="DEMO" Visibility="Collapsed">
673

    
674
                <telerik:RadRibbonGroup>
675
                    <telerik:RadOrderedWrapPanel>
676
                        <StackPanel Orientation="Horizontal">
677
                            <telerik:RadRibbonButton
678
                                                       CollapseToMedium="WhenGroupIsMedium"
679
                                                       CollapseToSmall="WhenGroupIsSmall"
680
                                                       CommandParameter="Print"
681
                                                       Size="Medium"
682
                                                       Tag="Print" x:Name="btnFromFile" Click="btnFromFile_Click"
683
                                                       Text="From File" />
684
                            
685
                            <telerik:RadRibbonButton
686
                                                       CollapseToMedium="WhenGroupIsMedium"
687
                                                       CollapseToSmall="WhenGroupIsSmall"
688
                                                       CommandParameter="PDF"
689
                                                       Size="Medium" Click="btnSync_Click"
690
                                                       Tag="PDF" x:Name="btnSync"
691
                                                       Text="Sync" />
692

    
693
                            <!--<telerik:RadButton Margin="0,0,5,0" BorderThickness="0">
694
                            <telerik:RadButton.Content>
695
                                <TextBlock Text="Compare" />
696
                            </telerik:RadButton.Content>-->
697
                        <!--</telerik:RadButton>-->
698
                        </StackPanel>
699
                    </telerik:RadOrderedWrapPanel>
700
                </telerik:RadRibbonGroup>
701
                <!--<telerik:RadRibbonTab Header="Comment"/>
702
            <telerik:RadRibbonTab Header="Edit"/>
703
            <telerik:RadRibbonTab Header="Page"/>
704
            <telerik:RadRibbonTab Header="Project"/>
705
            <telerik:RadRibbonTab Header="Help"/>-->
706
            </telerik:RadRibbonTab>
707
        </telerik:RadRibbonView>
708
    </Grid>
709
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)