markus / KCOM / Views / MainMenu.xaml @ 3abe8d4e
이력 | 보기 | 이력해설 | 다운로드 (114 KB)
1 |
<UserControl
|
---|---|
2 |
x:Class="KCOM.Views.MainMenu" |
3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF" |
6 |
xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan" |
7 |
xmlns:common="clr-namespace:KCOM.Common" |
8 |
xmlns:controls="clr-namespace:KCOM.Controls" |
9 |
xmlns:converter="clr-namespace:KCOM.Common.Converter" |
10 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
11 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
12 |
xmlns:messanger="clr-namespace:KCOM.Messenger" |
13 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
14 |
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" |
15 |
xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch" |
16 |
d:DesignHeight="768" |
17 |
d:DesignWidth="1200" |
18 |
IsTabStop="True" |
19 |
mc:Ignorable="d"> |
20 |
<UserControl.Resources>
|
21 |
<converter:ZeroToCollapsedConverter x:Key="ZeroToCollapsedConverter" /> |
22 |
<Style x:Key="GridViewHeaderStyle" TargetType="{x:Type telerikGrid:GridViewHeaderCell}"> |
23 |
<Setter Property="VerticalContentAlignment" Value="Center" /> |
24 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
25 |
<Setter Property="BorderThickness" Value="0" /> |
26 |
<Setter Property="Background"> |
27 |
<Setter.Value>
|
28 |
<SolidColorBrush Opacity="0.5" Color="Black" /> |
29 |
</Setter.Value>
|
30 |
</Setter>
|
31 |
<!--<Setter Property="Background" Value="Black"/>-->
|
32 |
<Setter Property="BorderBrush" Value="White" /> |
33 |
<Setter Property="Foreground" Value="White" /> |
34 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013" /> |
35 |
<!--<Setter Property="FontWeight" Value="Black"/>-->
|
36 |
</Style>
|
37 |
<Style x:Key="GridViewAlign" TargetType="{x:Type telerikGrid:GridViewCell}"> |
38 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
39 |
<Setter Property="TextBlock.TextDecorations"> |
40 |
<Setter.Value>
|
41 |
<TextDecorationCollection>
|
42 |
<TextDecoration Location="Underline" /> |
43 |
<TextDecoration Location="Overline" /> |
44 |
<TextDecoration PenThicknessUnit="FontRecommended"> |
45 |
<TextDecoration.Pen>
|
46 |
<Pen Thickness="1.0"> |
47 |
<Pen.Brush>
|
48 |
<LinearGradientBrush Opacity="0.5" StartPoint="0,0.5" EndPoint="1,0.5"> |
49 |
<GradientStop Offset="0" Color="Yellow" /> |
50 |
<GradientStop Offset="1" Color="Red" /> |
51 |
</LinearGradientBrush>
|
52 |
</Pen.Brush>
|
53 |
</Pen>
|
54 |
</TextDecoration.Pen>
|
55 |
</TextDecoration>
|
56 |
</TextDecorationCollection>
|
57 |
</Setter.Value>
|
58 |
</Setter>
|
59 |
</Style>
|
60 |
<converter:PDFVisibleConverter x:Key="PDFVisibleConverter" /> |
61 |
<converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" /> |
62 |
<converter:StringToColorBrushConverter x:Key="StringToColorBrushConverter" /> |
63 |
<converter:StringToColorConverter x:Key="StringToColorConverter" /> |
64 |
<converter:AvoidStringConverter x:Key="AvoidStringConverter" /> |
65 |
<converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" /> |
66 |
<converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" /> |
67 |
<converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" /> |
68 |
<converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter" /> |
69 |
<ControlTemplate x:Key="RadSplitContainerControlTemplate" TargetType="{x:Type telerik:RadSplitContainer}"> |
70 |
<Grid>
|
71 |
<Border
|
72 |
x:Name="border" |
73 |
Padding="{TemplateBinding Padding}" |
74 |
Background="{TemplateBinding Background}" |
75 |
BorderBrush="{TemplateBinding BorderBrush}" |
76 |
BorderThickness="{TemplateBinding BorderThickness}"> |
77 |
<ItemsPresenter /> |
78 |
</Border>
|
79 |
<telerik:RadGridResizer
|
80 |
x:Name="DockResizer" |
81 |
HorizontalAlignment="Left" |
82 |
VerticalAlignment="Stretch" |
83 |
Cursor="SizeWE" |
84 |
Focusable="False" |
85 |
Placement="Left" |
86 |
ShowsPreview="True" |
87 |
Visibility="Collapsed" /> |
88 |
<VisualStateManager.VisualStateGroups>
|
89 |
<VisualStateGroup x:Name="ResizerStates"> |
90 |
<VisualState x:Name="ResizerLeft"> |
91 |
<Storyboard>
|
92 |
<ObjectAnimationUsingKeyFrames
|
93 |
Storyboard.TargetName="DockResizer" |
94 |
Storyboard.TargetProperty="Visibility" |
95 |
Duration="0"> |
96 |
<DiscreteObjectKeyFrame KeyTime="0"> |
97 |
<DiscreteObjectKeyFrame.Value>
|
98 |
<Visibility>Visible</Visibility> |
99 |
</DiscreteObjectKeyFrame.Value>
|
100 |
</DiscreteObjectKeyFrame>
|
101 |
</ObjectAnimationUsingKeyFrames>
|
102 |
<DoubleAnimation
|
103 |
BeginTime="0" |
104 |
Storyboard.TargetName="DockResizer" |
105 |
Storyboard.TargetProperty="MinWidth" |
106 |
From="4" |
107 |
To="4" /> |
108 |
<ObjectAnimationUsingKeyFrames
|
109 |
Storyboard.TargetName="border" |
110 |
Storyboard.TargetProperty="Margin" |
111 |
Duration="0"> |
112 |
<DiscreteObjectKeyFrame KeyTime="0"> |
113 |
<DiscreteObjectKeyFrame.Value>
|
114 |
<Thickness>4,0,0,0</Thickness> |
115 |
</DiscreteObjectKeyFrame.Value>
|
116 |
</DiscreteObjectKeyFrame>
|
117 |
</ObjectAnimationUsingKeyFrames>
|
118 |
</Storyboard>
|
119 |
</VisualState>
|
120 |
<VisualState x:Name="ResizerTop"> |
121 |
<Storyboard>
|
122 |
<ObjectAnimationUsingKeyFrames
|
123 |
Storyboard.TargetName="DockResizer" |
124 |
Storyboard.TargetProperty="Visibility" |
125 |
Duration="0"> |
126 |
<DiscreteObjectKeyFrame KeyTime="0"> |
127 |
<DiscreteObjectKeyFrame.Value>
|
128 |
<Visibility>Visible</Visibility> |
129 |
</DiscreteObjectKeyFrame.Value>
|
130 |
</DiscreteObjectKeyFrame>
|
131 |
</ObjectAnimationUsingKeyFrames>
|
132 |
<ObjectAnimationUsingKeyFrames
|
133 |
Storyboard.TargetName="DockResizer" |
134 |
Storyboard.TargetProperty="VerticalAlignment" |
135 |
Duration="0"> |
136 |
<DiscreteObjectKeyFrame KeyTime="0"> |
137 |
<DiscreteObjectKeyFrame.Value>
|
138 |
<VerticalAlignment>Top</VerticalAlignment> |
139 |
</DiscreteObjectKeyFrame.Value>
|
140 |
</DiscreteObjectKeyFrame>
|
141 |
</ObjectAnimationUsingKeyFrames>
|
142 |
<ObjectAnimationUsingKeyFrames
|
143 |
Storyboard.TargetName="DockResizer" |
144 |
Storyboard.TargetProperty="HorizontalAlignment" |
145 |
Duration="0"> |
146 |
<DiscreteObjectKeyFrame KeyTime="0"> |
147 |
<DiscreteObjectKeyFrame.Value>
|
148 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
149 |
</DiscreteObjectKeyFrame.Value>
|
150 |
</DiscreteObjectKeyFrame>
|
151 |
</ObjectAnimationUsingKeyFrames>
|
152 |
<ObjectAnimationUsingKeyFrames
|
153 |
Storyboard.TargetName="DockResizer" |
154 |
Storyboard.TargetProperty="Placement" |
155 |
Duration="0"> |
156 |
<DiscreteObjectKeyFrame KeyTime="0"> |
157 |
<DiscreteObjectKeyFrame.Value>
|
158 |
<Dock>Top</Dock> |
159 |
</DiscreteObjectKeyFrame.Value>
|
160 |
</DiscreteObjectKeyFrame>
|
161 |
</ObjectAnimationUsingKeyFrames>
|
162 |
<DoubleAnimation
|
163 |
BeginTime="0" |
164 |
Storyboard.TargetName="DockResizer" |
165 |
Storyboard.TargetProperty="MinHeight" |
166 |
From="4" |
167 |
To="4" /> |
168 |
<ObjectAnimationUsingKeyFrames
|
169 |
Storyboard.TargetName="border" |
170 |
Storyboard.TargetProperty="Margin" |
171 |
Duration="0"> |
172 |
<DiscreteObjectKeyFrame KeyTime="0"> |
173 |
<DiscreteObjectKeyFrame.Value>
|
174 |
<Thickness>0,4,0,0</Thickness> |
175 |
</DiscreteObjectKeyFrame.Value>
|
176 |
</DiscreteObjectKeyFrame>
|
177 |
</ObjectAnimationUsingKeyFrames>
|
178 |
</Storyboard>
|
179 |
</VisualState>
|
180 |
<VisualState x:Name="ResizerRight"> |
181 |
<Storyboard>
|
182 |
<ObjectAnimationUsingKeyFrames
|
183 |
Storyboard.TargetName="DockResizer" |
184 |
Storyboard.TargetProperty="Visibility" |
185 |
Duration="0"> |
186 |
<DiscreteObjectKeyFrame KeyTime="0"> |
187 |
<DiscreteObjectKeyFrame.Value>
|
188 |
<Visibility>Visible</Visibility> |
189 |
</DiscreteObjectKeyFrame.Value>
|
190 |
</DiscreteObjectKeyFrame>
|
191 |
</ObjectAnimationUsingKeyFrames>
|
192 |
<DoubleAnimation
|
193 |
BeginTime="0" |
194 |
Storyboard.TargetName="DockResizer" |
195 |
Storyboard.TargetProperty="MinWidth" |
196 |
From="4" |
197 |
To="4" /> |
198 |
<ObjectAnimationUsingKeyFrames
|
199 |
Storyboard.TargetName="border" |
200 |
Storyboard.TargetProperty="Margin" |
201 |
Duration="0"> |
202 |
<DiscreteObjectKeyFrame KeyTime="0"> |
203 |
<DiscreteObjectKeyFrame.Value>
|
204 |
<Thickness>0,0,4,0</Thickness> |
205 |
</DiscreteObjectKeyFrame.Value>
|
206 |
</DiscreteObjectKeyFrame>
|
207 |
</ObjectAnimationUsingKeyFrames>
|
208 |
<ObjectAnimationUsingKeyFrames
|
209 |
Storyboard.TargetName="DockResizer" |
210 |
Storyboard.TargetProperty="HorizontalAlignment" |
211 |
Duration="0"> |
212 |
<DiscreteObjectKeyFrame KeyTime="0"> |
213 |
<DiscreteObjectKeyFrame.Value>
|
214 |
<HorizontalAlignment>Right</HorizontalAlignment> |
215 |
</DiscreteObjectKeyFrame.Value>
|
216 |
</DiscreteObjectKeyFrame>
|
217 |
</ObjectAnimationUsingKeyFrames>
|
218 |
<ObjectAnimationUsingKeyFrames
|
219 |
Storyboard.TargetName="DockResizer" |
220 |
Storyboard.TargetProperty="Placement" |
221 |
Duration="0"> |
222 |
<DiscreteObjectKeyFrame KeyTime="0"> |
223 |
<DiscreteObjectKeyFrame.Value>
|
224 |
<Dock>Right</Dock> |
225 |
</DiscreteObjectKeyFrame.Value>
|
226 |
</DiscreteObjectKeyFrame>
|
227 |
</ObjectAnimationUsingKeyFrames>
|
228 |
</Storyboard>
|
229 |
</VisualState>
|
230 |
<VisualState x:Name="ResizerBottom"> |
231 |
<Storyboard>
|
232 |
<ObjectAnimationUsingKeyFrames
|
233 |
Storyboard.TargetName="DockResizer" |
234 |
Storyboard.TargetProperty="Visibility" |
235 |
Duration="0"> |
236 |
<DiscreteObjectKeyFrame KeyTime="0"> |
237 |
<DiscreteObjectKeyFrame.Value>
|
238 |
<Visibility>Visible</Visibility> |
239 |
</DiscreteObjectKeyFrame.Value>
|
240 |
</DiscreteObjectKeyFrame>
|
241 |
</ObjectAnimationUsingKeyFrames>
|
242 |
<ObjectAnimationUsingKeyFrames
|
243 |
Storyboard.TargetName="DockResizer" |
244 |
Storyboard.TargetProperty="VerticalAlignment" |
245 |
Duration="0"> |
246 |
<DiscreteObjectKeyFrame KeyTime="0"> |
247 |
<DiscreteObjectKeyFrame.Value>
|
248 |
<VerticalAlignment>Bottom</VerticalAlignment> |
249 |
</DiscreteObjectKeyFrame.Value>
|
250 |
</DiscreteObjectKeyFrame>
|
251 |
</ObjectAnimationUsingKeyFrames>
|
252 |
<ObjectAnimationUsingKeyFrames
|
253 |
Storyboard.TargetName="DockResizer" |
254 |
Storyboard.TargetProperty="HorizontalAlignment" |
255 |
Duration="0"> |
256 |
<DiscreteObjectKeyFrame KeyTime="0"> |
257 |
<DiscreteObjectKeyFrame.Value>
|
258 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
259 |
</DiscreteObjectKeyFrame.Value>
|
260 |
</DiscreteObjectKeyFrame>
|
261 |
</ObjectAnimationUsingKeyFrames>
|
262 |
<ObjectAnimationUsingKeyFrames
|
263 |
Storyboard.TargetName="DockResizer" |
264 |
Storyboard.TargetProperty="Placement" |
265 |
Duration="0"> |
266 |
<DiscreteObjectKeyFrame KeyTime="0"> |
267 |
<DiscreteObjectKeyFrame.Value>
|
268 |
<Dock>Bottom</Dock> |
269 |
</DiscreteObjectKeyFrame.Value>
|
270 |
</DiscreteObjectKeyFrame>
|
271 |
</ObjectAnimationUsingKeyFrames>
|
272 |
<DoubleAnimation
|
273 |
BeginTime="0" |
274 |
Storyboard.TargetName="DockResizer" |
275 |
Storyboard.TargetProperty="MinHeight" |
276 |
From="4" |
277 |
To="4" /> |
278 |
<ObjectAnimationUsingKeyFrames
|
279 |
Storyboard.TargetName="border" |
280 |
Storyboard.TargetProperty="Margin" |
281 |
Duration="0"> |
282 |
<DiscreteObjectKeyFrame KeyTime="0"> |
283 |
<DiscreteObjectKeyFrame.Value>
|
284 |
<Thickness>0,0,0,4</Thickness> |
285 |
</DiscreteObjectKeyFrame.Value>
|
286 |
</DiscreteObjectKeyFrame>
|
287 |
</ObjectAnimationUsingKeyFrames>
|
288 |
</Storyboard>
|
289 |
</VisualState>
|
290 |
<VisualState x:Name="HideResizer" /> |
291 |
</VisualStateGroup>
|
292 |
</VisualStateManager.VisualStateGroups>
|
293 |
</Grid>
|
294 |
</ControlTemplate>
|
295 |
<!-- App.xaml에 선언됨 -->
|
296 |
<!--<Style BasedOn="{StaticResource PaneHeaderStyle}" TargetType="telerik:PaneHeader">-->
|
297 |
<!--<Style TargetType="telerik:PaneHeader">
|
298 |
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
299 |
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
300 |
</Style>-->
|
301 |
</UserControl.Resources>
|
302 |
<Grid Background="{DynamicResource KCOMColor_MainBrush}"> |
303 |
<!--<Grid.ColumnDefinitions>
|
304 |
<ColumnDefinition Width="Auto"/>
|
305 |
<ColumnDefinition Width="*"/>
|
306 |
</Grid.ColumnDefinitions>-->
|
307 |
<!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
|
308 |
-->
|
309 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
|
310 |
<!--
|
311 |
<telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
|
312 |
<telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
|
313 |
<telerik:LayoutControlTabGroupItem Header="Thumbnail">
|
314 |
<telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">
|
315 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>
|
316 |
</telerik:LayoutControlGroup>
|
317 |
</telerik:LayoutControlTabGroupItem>
|
318 |
<telerik:LayoutControlTabGroupItem Header="Bookmark">
|
319 |
<telerik:LayoutControlGroup BorderBrush="Transparent">
|
320 |
<Border Background="Blue"/>
|
321 |
</telerik:LayoutControlGroup>
|
322 |
</telerik:LayoutControlTabGroupItem>
|
323 |
</telerik:LayoutControlTabGroup>
|
324 |
</telerik:RadLayoutControl>
|
325 |
</Border>-->
|
326 |
<!--<Grid.ColumnDefinitions>
|
327 |
<ColumnDefinition Width="Auto"/>
|
328 |
<ColumnDefinition Width="*"/>
|
329 |
<ColumnDefinition Width="Auto"/>
|
330 |
</Grid.ColumnDefinitions>-->
|
331 |
<!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
|
332 |
<Border Background="White" Margin="50"/>
|
333 |
</Border>-->
|
334 |
<telerik:RadDocking
|
335 |
Grid.Column="1" |
336 |
Padding="0" |
337 |
Background="{DynamicResource KCOMColor_MainBrush}" |
338 |
BorderThickness="0"> |
339 |
<telerik:RadDocking.DocumentHost>
|
340 |
<telerik:RadSplitContainer
|
341 |
x:Name="splitContainerMain" |
342 |
Margin="0,-1,0,0" |
343 |
Background="Transparent" |
344 |
Template="{DynamicResource RadSplitContainerControlTemplate}"> |
345 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
346 |
<telerik:RadDocumentPane
|
347 |
x:Name="MainDocumentPanel" |
348 |
Title="Document 1" |
349 |
Margin="0,-20,0,0" |
350 |
CanFloat="False" |
351 |
CanUserClose="False" |
352 |
Header="VP-320A-728063" |
353 |
PaneHeaderVisibility="Collapsed"> |
354 |
<telerik:RadDocumentPane.HeaderTemplate>
|
355 |
<DataTemplate>
|
356 |
<Border Margin="0,0,0,0" /> |
357 |
</DataTemplate>
|
358 |
</telerik:RadDocumentPane.HeaderTemplate>
|
359 |
<!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
|
360 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
361 |
<Rectangle
|
362 |
Name="rect" |
363 |
Width="100" |
364 |
Height="100" |
365 |
Margin="50,50,0,0" |
366 |
Fill="LightBlue" /> |
367 |
<Popup
|
368 |
Name="floatingTip" |
369 |
AllowsTransparency="True" |
370 |
Placement="Relative" |
371 |
PlacementTarget="{Binding ElementName=rect}"> |
372 |
<TextBlock
|
373 |
x:Name="txtBatch" |
374 |
FontSize="20" |
375 |
Foreground="Red" |
376 |
Text="Mark Control을 그립니다." /> |
377 |
</Popup>
|
378 |
<ZoomAndPan:ZoomAndPanControl
|
379 |
x:Name="zoomAndPanControl" |
380 |
Background="LightGray" |
381 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
382 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
383 |
ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
384 |
ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
385 |
ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
386 |
MouseDoubleClick="zoomAndPanControl_MouseDoubleClick" |
387 |
MouseDown="zoomAndPanControl_MouseDown" |
388 |
MouseLeave="zoomAndPanControl_MouseLeave" |
389 |
MouseMove="zoomAndPanControl_MouseMove" |
390 |
MouseUp="zoomAndPanControl_MouseUp" |
391 |
MouseWheel="zoomAndPanControl_MouseWheel" |
392 |
ScaleChanged="ZoomAndPanControl_ScaleChanged"> |
393 |
<Canvas
|
394 |
x:Name="zoomAndPanCanvas" |
395 |
Background="White" |
396 |
Opacity="1"> |
397 |
|
398 |
<Canvas
|
399 |
x:Name="drawingRotateCanvas" |
400 |
Panel.ZIndex="1" |
401 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
402 |
<Canvas.RenderTransform>
|
403 |
<TransformGroup>
|
404 |
<RotateTransform x:Name="rotate" Angle="0" /> |
405 |
<TranslateTransform x:Name="translate" X="0" Y="0" /> |
406 |
</TransformGroup>
|
407 |
</Canvas.RenderTransform>
|
408 |
|
409 |
<ItemsControl Panel.ZIndex="1" ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"> |
410 |
<ItemsControl.ItemsPanel>
|
411 |
<ItemsPanelTemplate>
|
412 |
<Canvas /> |
413 |
</ItemsPanelTemplate>
|
414 |
</ItemsControl.ItemsPanel>
|
415 |
</ItemsControl>
|
416 |
<ItemsControl Panel.ZIndex="30" ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"> |
417 |
<ItemsControl.ItemsPanel>
|
418 |
<ItemsPanelTemplate>
|
419 |
<Canvas /> |
420 |
</ItemsPanelTemplate>
|
421 |
</ItemsControl.ItemsPanel>
|
422 |
</ItemsControl>
|
423 |
<InkPresenter
|
424 |
x:Name="inkBoard" |
425 |
HorizontalAlignment="Stretch" |
426 |
VerticalAlignment="Stretch" |
427 |
Panel.ZIndex="1" /> |
428 |
<InkCanvas
|
429 |
x:Name="inkDrawingCanvas" |
430 |
Width="1" |
431 |
Height="1" |
432 |
Panel.ZIndex="1" |
433 |
Background="Transparent" |
434 |
IsEnabled="False" |
435 |
Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}"> |
436 |
<!--<Rectangle Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
437 |
<!--<Ellipse Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
438 |
|
439 |
<!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
|
440 |
</InkCanvas>
|
441 |
<!-- 강인구 추가 -->
|
442 |
<!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
|
443 |
Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
444 |
Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
445 |
Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
|
446 |
</controls:ScaleDecodeImage>-->
|
447 |
<Image
|
448 |
x:Name="mainPanel" |
449 |
Width="{Binding ImageViewWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
450 |
Height="{Binding ImageViewHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
451 |
Panel.ZIndex="0" |
452 |
RenderOptions.BitmapScalingMode="HighQuality" |
453 |
RenderOptions.ClearTypeHint="Enabled" |
454 |
RenderOptions.EdgeMode="Unspecified" |
455 |
Source="{Binding ImageViewPath, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" /> |
456 |
<Canvas
|
457 |
x:Name="SelectLayer" |
458 |
HorizontalAlignment="Stretch" |
459 |
VerticalAlignment="Stretch" |
460 |
Panel.ZIndex="32766" /> |
461 |
<Border
|
462 |
x:Name="dragSelectionBorder" |
463 |
Panel.ZIndex="1" |
464 |
Background="LightBlue" |
465 |
BorderBrush="Blue" |
466 |
BorderThickness="1" |
467 |
CornerRadius="1" |
468 |
Opacity="0.5" |
469 |
Visibility="Collapsed" /> |
470 |
<Border
|
471 |
x:Name="dragCaptureBorder" |
472 |
Panel.ZIndex="1" |
473 |
Background="Blue" |
474 |
BorderBrush="Blue" |
475 |
BorderThickness="1" |
476 |
CornerRadius="1" |
477 |
Opacity="0.5" |
478 |
Visibility="Collapsed" /> |
479 |
|
480 |
<Border
|
481 |
x:Name="dragZoomBorder" |
482 |
Panel.ZIndex="1" |
483 |
Background="Transparent" |
484 |
BorderThickness="3" |
485 |
CornerRadius="1" |
486 |
Opacity="1" |
487 |
Visibility="Collapsed"> |
488 |
<Border.BorderBrush>
|
489 |
<VisualBrush>
|
490 |
<VisualBrush.Visual>
|
491 |
<Rectangle
|
492 |
Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}" |
493 |
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}" |
494 |
Stroke="Gray" |
495 |
StrokeDashArray="4 2" |
496 |
StrokeThickness="1" /> |
497 |
</VisualBrush.Visual>
|
498 |
</VisualBrush>
|
499 |
</Border.BorderBrush>
|
500 |
</Border>
|
501 |
<!--<Border x:Name="dragZoomBorder"
|
502 |
BorderBrush="Black"
|
503 |
BorderThickness="1"
|
504 |
|
505 |
Background="Transparent"
|
506 |
CornerRadius="1"
|
507 |
Panel.ZIndex="1"
|
508 |
Opacity="0.5"/>-->
|
509 |
<Canvas
|
510 |
x:Name="SearchFocusBorder" |
511 |
Panel.ZIndex="99999" |
512 |
Background="#50FF5D00" |
513 |
IsHitTestVisible="False" |
514 |
Visibility="Collapsed"> |
515 |
<Border
|
516 |
Width="{Binding Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}" |
517 |
Height="{Binding Height, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}" |
518 |
Panel.ZIndex="99999" |
519 |
Background="#50FF5D00" |
520 |
BorderThickness="1" |
521 |
CornerRadius="1" |
522 |
IsHitTestVisible="False" |
523 |
Visibility="Collapsed" /> |
524 |
</Canvas>
|
525 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
|
526 |
</Canvas>
|
527 |
|
528 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
|
529 |
|
530 |
<!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
|
531 |
</Canvas>
|
532 |
</ZoomAndPan:ZoomAndPanControl>
|
533 |
<telerik:RadBusyIndicator
|
534 |
x:Name="busyIndicator" |
535 |
BusyContent="Saving..." |
536 |
IsBusy="False" |
537 |
Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}" /> |
538 |
<!-- 캡쳐 화면을 위한 보더 -->
|
539 |
<Border
|
540 |
Background="LightGray" |
541 |
IsHitTestVisible="False" |
542 |
Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"> |
543 |
<TextBlock
|
544 |
HorizontalAlignment="Right" |
545 |
FontSize="30" |
546 |
Foreground="Red" |
547 |
Text="캡쳐 진행 화면" /> |
548 |
</Border>
|
549 |
<Angle:AngleControl
|
550 |
x:Name="MainAngle" |
551 |
Grid.Column="1" |
552 |
Grid.ColumnSpan="2" |
553 |
Margin="10" |
554 |
HorizontalAlignment="Right" |
555 |
VerticalAlignment="Top" |
556 |
AngleValue="{Binding MarkupAngle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}" |
557 |
IsHitTestVisible="False" |
558 |
Visibility="{Binding MarkupAngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" /> |
559 |
</Grid>
|
560 |
</telerik:RadDocumentPane>
|
561 |
</telerik:RadPaneGroup>
|
562 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
563 |
<telerik:RadPane
|
564 |
x:Name="testPanel2" |
565 |
Title="Document 1" |
566 |
Margin="0,-20,0,0" |
567 |
CanFloat="False" |
568 |
CanUserClose="False" |
569 |
IsHidden="True" |
570 |
PaneHeaderVisibility="Collapsed"> |
571 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
572 |
<ZoomAndPan:ZoomAndPanControl
|
573 |
x:Name="zoomAndPanControl2" |
574 |
AllowDrop="True" |
575 |
Background="LightGray" |
576 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
577 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
578 |
ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
579 |
ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
580 |
ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
581 |
MouseDown="zoomAndPanControl2_MouseDown" |
582 |
MouseLeave="zoomAndPanControl_MouseLeave" |
583 |
MouseMove="zoomAndPanControl2_MouseMove" |
584 |
MouseUp="zoomAndPanControl2_MouseUp" |
585 |
MouseWheel="zoomAndPanControl2_MouseWheel"> |
586 |
<Canvas
|
587 |
x:Name="zoomAndPanCanvas2" |
588 |
Background="Transparent" |
589 |
Opacity="1"> |
590 |
<Canvas
|
591 |
x:Name="drawingRotateCanvas2" |
592 |
Panel.ZIndex="1" |
593 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
594 |
<Canvas.RenderTransform>
|
595 |
<TransformGroup>
|
596 |
<RotateTransform x:Name="rotate2" Angle="0" /> |
597 |
<TranslateTransform x:Name="translate2" X="0" Y="0" /> |
598 |
</TransformGroup>
|
599 |
</Canvas.RenderTransform>
|
600 |
<ItemsControl
|
601 |
x:Name="itemsControl" |
602 |
Panel.ZIndex="1" |
603 |
ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"> |
604 |
<ItemsControl.ItemsPanel>
|
605 |
<ItemsPanelTemplate>
|
606 |
<Canvas /> |
607 |
</ItemsPanelTemplate>
|
608 |
</ItemsControl.ItemsPanel>
|
609 |
</ItemsControl>
|
610 |
<Image
|
611 |
x:Name="ComparePanel" |
612 |
Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" |
613 |
Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" |
614 |
Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" /> |
615 |
<Canvas
|
616 |
x:Name="canvas_compareBorder" |
617 |
Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" |
618 |
Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" |
619 |
Panel.ZIndex="1" |
620 |
IsHitTestVisible="False"> |
621 |
<!-- RenderTransform="{Binding RenderTransform, ElementName=zoomAndPanControl2}" -->
|
622 |
<Canvas.RenderTransform>
|
623 |
<TransformGroup>
|
624 |
<RotateTransform x:Name="rotate2CompareBorder" Angle="0" /> |
625 |
<TranslateTransform x:Name="translate2CompareBorder" X="0" Y="0" /> |
626 |
</TransformGroup>
|
627 |
</Canvas.RenderTransform>
|
628 |
<!--<Canvas.RenderTransform>
|
629 |
<RotateTransform Angle="{Binding RenderTransform, ElementName=zoomAndPanControl2}"/>
|
630 |
</Canvas.RenderTransform>-->
|
631 |
</Canvas>
|
632 |
<!-- 강인구 추가 -->
|
633 |
</Canvas>
|
634 |
</Canvas>
|
635 |
</ZoomAndPan:ZoomAndPanControl>
|
636 |
<Grid
|
637 |
Background="#FF353535" |
638 |
IsHitTestVisible="False" |
639 |
Opacity="0.1" /> |
640 |
|
641 |
<!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
|
642 |
<TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
|
643 |
Foreground="White" Opacity="0.5" FontWeight="Bold">
|
644 |
<TextBlock.RenderTransform>
|
645 |
<RotateTransform Angle="-25"/>
|
646 |
</TextBlock.RenderTransform>
|
647 |
</TextBlock>
|
648 |
</Viewbox>-->
|
649 |
|
650 |
<!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
|
651 |
ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
|
652 |
<Grid Height="Auto" VerticalAlignment="Top"> |
653 |
<Grid.RowDefinitions>
|
654 |
<RowDefinition /> |
655 |
<RowDefinition /> |
656 |
</Grid.RowDefinitions>
|
657 |
<!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
|
658 |
<Border
|
659 |
Grid.RowSpan="2" |
660 |
HorizontalAlignment="Stretch" |
661 |
VerticalAlignment="Stretch" |
662 |
Background="Black" |
663 |
BorderThickness="0" |
664 |
Opacity="0.5" /> |
665 |
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal"> |
666 |
<!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
|
667 |
<TextBlock
|
668 |
x:Name="tlSyncRev" |
669 |
Margin="10" |
670 |
VerticalAlignment="Center" |
671 |
Foreground="#FFFF9A25" |
672 |
Text="Rev.A" /> |
673 |
<TextBlock
|
674 |
x:Name="tlSyncPageNum" |
675 |
VerticalAlignment="Center" |
676 |
Foreground="White" |
677 |
Text="Current Page : 1" /> |
678 |
</StackPanel>
|
679 |
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal"> |
680 |
<!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare" Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
|
681 |
Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
|
682 |
<!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white" Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
|
683 |
|
684 |
<toggle:HorizontalToggleSwitch
|
685 |
x:Name="Sync" |
686 |
Width="75" |
687 |
Margin="5" |
688 |
telerik:StyleManager.Theme="Office2013" |
689 |
BorderBrush="Transparent" |
690 |
BorderThickness="0" |
691 |
Checked="Sync_Click" |
692 |
CheckedContent="Sync" |
693 |
FontSize="10" |
694 |
FontWeight="Normal" |
695 |
IsChecked="False" |
696 |
Opacity="0.6" |
697 |
ThumbSize="25" |
698 |
Unchecked="Sync_Click" |
699 |
UncheckedContent="Sync" /> |
700 |
|
701 |
<toggle:HorizontalToggleSwitch
|
702 |
x:Name="UserList" |
703 |
Width="75" |
704 |
Margin="5" |
705 |
telerik:StyleManager.Theme="Office2013" |
706 |
BorderBrush="Transparent" |
707 |
BorderThickness="0" |
708 |
Checked="SyncUserListExpender_Click" |
709 |
CheckedContent="User List" |
710 |
FontSize="10" |
711 |
FontWeight="Normal" |
712 |
IsChecked="False" |
713 |
Opacity="0.6" |
714 |
ThumbSize="25" |
715 |
Unchecked="SyncUserListExpender_Click" |
716 |
UncheckedContent="User List" /> |
717 |
|
718 |
<toggle:HorizontalToggleSwitch
|
719 |
x:Name="CompareMode" |
720 |
Width="90" |
721 |
Margin="5" |
722 |
telerik:StyleManager.Theme="Office2013" |
723 |
BorderBrush="Transparent" |
724 |
BorderThickness="0" |
725 |
Checked="SyncCompare_Click" |
726 |
CheckedContent="Compare On" |
727 |
FontSize="10" |
728 |
FontWeight="Normal" |
729 |
IsChecked="False" |
730 |
Opacity="0.6" |
731 |
ThumbSize="25" |
732 |
Unchecked="SyncCompare_Click" |
733 |
UncheckedContent="Compare Off" /> |
734 |
|
735 |
<toggle:HorizontalToggleSwitch
|
736 |
x:Name="MarkupMode" |
737 |
Width="75" |
738 |
Margin="5" |
739 |
telerik:StyleManager.Theme="Office2013" |
740 |
BorderBrush="Transparent" |
741 |
BorderThickness="0" |
742 |
Checked="SyncChange_Click" |
743 |
CheckedContent="Pdf" |
744 |
FontSize="10" |
745 |
FontWeight="Normal" |
746 |
IsChecked="False" |
747 |
Opacity="0.6" |
748 |
ThumbSize="25" |
749 |
Unchecked="SyncChange_Click" |
750 |
UncheckedContent="Markup" |
751 |
Visibility="Collapsed" /> |
752 |
|
753 |
<toggle:HorizontalToggleSwitch
|
754 |
x:Name="BalanceMode" |
755 |
Width="90" |
756 |
Margin="5" |
757 |
telerik:StyleManager.Theme="Office2013" |
758 |
BorderBrush="Transparent" |
759 |
BorderThickness="0" |
760 |
Checked="SyncPageBalance_Click" |
761 |
CheckedContent="Balance On" |
762 |
FontSize="10" |
763 |
FontWeight="Normal" |
764 |
IsChecked="False" |
765 |
Opacity="0.6" |
766 |
ThumbSize="25" |
767 |
Unchecked="SyncPageBalance_Click" |
768 |
UncheckedContent="Balance Off" |
769 |
Visibility="Collapsed" /> |
770 |
<toggle:HorizontalToggleSwitch
|
771 |
x:Name="OriginalSizeMode" |
772 |
Width="90" |
773 |
Margin="5" |
774 |
telerik:StyleManager.Theme="Office2013" |
775 |
BorderBrush="Transparent" |
776 |
BorderThickness="0" |
777 |
Checked="OriginalSizeMode_Click" |
778 |
CheckedContent="Original Size" |
779 |
FontSize="10" |
780 |
FontWeight="Normal" |
781 |
IsChecked="False" |
782 |
Opacity="0.6" |
783 |
ThumbSize="25" |
784 |
Unchecked="OriginalSizeMode_Click" |
785 |
UncheckedContent="Uniform Size" /> |
786 |
|
787 |
<!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White" Margin="5" Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
788 |
<!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White" Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
789 |
<telerik:RadPathButton
|
790 |
Width="20" |
791 |
Height="10" |
792 |
Margin="5" |
793 |
VerticalAlignment="Center" |
794 |
telerik:StyleManager.Theme="Office2013" |
795 |
Click="SyncPageChange_Click" |
796 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronUp}}" |
797 |
Style="{StaticResource IconPathButton}" |
798 |
Tag="-1"> |
799 |
<!--<Image Height="20"
|
800 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
|
801 |
Stretch="Uniform" />-->
|
802 |
</telerik:RadPathButton>
|
803 |
<telerik:RadPathButton
|
804 |
Width="20" |
805 |
Height="10" |
806 |
Margin="5" |
807 |
VerticalAlignment="Center" |
808 |
telerik:StyleManager.Theme="Office2013" |
809 |
Click="SyncPageChange_Click" |
810 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronDown}}" |
811 |
Style="{StaticResource IconPathButton}" |
812 |
Tag="1"> |
813 |
<!--<Image Height="20"
|
814 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
|
815 |
Stretch="Uniform">
|
816 |
<Image.RenderTransform>
|
817 |
<RotateTransform Angle="180"/>
|
818 |
</Image.RenderTransform>
|
819 |
</Image>-->
|
820 |
</telerik:RadPathButton>
|
821 |
<telerik:RadPathButton
|
822 |
Width="20" |
823 |
Height="10" |
824 |
Margin="5" |
825 |
VerticalAlignment="Center" |
826 |
telerik:StyleManager.Theme="Office2013" |
827 |
Click="SyncRotation_Click" |
828 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphReloadSmall}}" |
829 |
Style="{StaticResource IconPathButton}" |
830 |
Tag="1" /> |
831 |
<telerik:RadPathButton
|
832 |
Width="20" |
833 |
Height="10" |
834 |
Margin="5" |
835 |
VerticalAlignment="Center" |
836 |
telerik:StyleManager.Theme="Office2013" |
837 |
Click="SyncRotation_Click" |
838 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphResetSmall}}" |
839 |
Style="{StaticResource IconPathButton}" |
840 |
Tag="-1" /> |
841 |
<telerik:RadPathButton
|
842 |
Width="20" |
843 |
Height="10" |
844 |
Margin="5" |
845 |
VerticalAlignment="Center" |
846 |
telerik:StyleManager.Theme="Office2013" |
847 |
Click="SyncExit_Click" |
848 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphClose}}" |
849 |
Style="{StaticResource IconPathButton}"> |
850 |
<!--<Image Height="20"
|
851 |
Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
|
852 |
Stretch="Uniform" />-->
|
853 |
</telerik:RadPathButton>
|
854 |
</StackPanel>
|
855 |
<telerik:RadGridView
|
856 |
x:Name="gridViewRevMarkup" |
857 |
Grid.Row="1" |
858 |
HorizontalContentAlignment="Center" |
859 |
telerik:StyleManager.Theme="Office2013" |
860 |
AutoExpandGroups="False" |
861 |
AutoGenerateColumns="False" |
862 |
BorderThickness="0" |
863 |
CanUserDeleteRows="True" |
864 |
CanUserFreezeColumns="False" |
865 |
CanUserInsertRows="False" |
866 |
GridLinesVisibility="None" |
867 |
IsFilteringAllowed="False" |
868 |
RowIndicatorVisibility="Collapsed" |
869 |
SelectionChanged="gridViewRevMarkup_SelectionChanged" |
870 |
SelectionMode="Multiple" |
871 |
ShowGroupFooters="False" |
872 |
ShowGroupPanel="False" |
873 |
Visibility="Collapsed"> |
874 |
<telerik:RadGridView.HeaderRowStyle>
|
875 |
<Style TargetType="telerik:GridViewHeaderRow"> |
876 |
<Setter Property="BorderThickness" Value="0" /> |
877 |
<Setter Property="Background" Value="Red" /> |
878 |
<Setter Property="Foreground" Value="White" /> |
879 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
880 |
<Setter Property="FontWeight" Value="Black" /> |
881 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013" /> |
882 |
</Style>
|
883 |
</telerik:RadGridView.HeaderRowStyle>
|
884 |
<telerik:RadGridView.RowStyle>
|
885 |
<Style TargetType="telerik:GridViewRow"> |
886 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
887 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
888 |
<Setter Property="Foreground" Value="White" /> |
889 |
</Style>
|
890 |
</telerik:RadGridView.RowStyle>
|
891 |
<telerik:RadGridView.Columns>
|
892 |
<telerik:GridViewSelectColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
893 |
<telerik:GridViewSelectColumn.Header>
|
894 |
<telerik:RadRibbonToggleButton
|
895 |
Width="Auto" |
896 |
telerik:StyleManager.Theme="Office2016" |
897 |
Visibility="Collapsed"> |
898 |
<telerik:RadRibbonToggleButton.Content>
|
899 |
<Image
|
900 |
HorizontalAlignment="Center" |
901 |
VerticalAlignment="Center" |
902 |
Source="/KCOM;component/Resources/Images/MenuImage_New/check.png" /> |
903 |
</telerik:RadRibbonToggleButton.Content>
|
904 |
</telerik:RadRibbonToggleButton>
|
905 |
</telerik:GridViewSelectColumn.Header>
|
906 |
</telerik:GridViewSelectColumn>
|
907 |
<telerik:GridViewDataColumn
|
908 |
Width="Auto" |
909 |
Header="Color" |
910 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
911 |
IsReadOnly="True"> |
912 |
<telerik:GridViewDataColumn.CellTemplate>
|
913 |
<DataTemplate>
|
914 |
<Grid>
|
915 |
<Grid>
|
916 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorBrushConverter}}" /> |
917 |
<TextBlock Foreground="#00000000" Text="Color" /> |
918 |
</Grid>
|
919 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
920 |
<Image
|
921 |
Height="15" |
922 |
Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png" |
923 |
Stretch="Uniform" /> |
924 |
</Grid>
|
925 |
</Grid>
|
926 |
|
927 |
</DataTemplate>
|
928 |
</telerik:GridViewDataColumn.CellTemplate>
|
929 |
</telerik:GridViewDataColumn>
|
930 |
<telerik:GridViewDataColumn
|
931 |
Width="Auto" |
932 |
Header="DEPT" |
933 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
934 |
IsReadOnly="True"> |
935 |
<telerik:GridViewDataColumn.CellTemplate>
|
936 |
<DataTemplate>
|
937 |
<TextBlock FontSize="12" Text="{Binding Depatment}" /> |
938 |
</DataTemplate>
|
939 |
</telerik:GridViewDataColumn.CellTemplate>
|
940 |
</telerik:GridViewDataColumn>
|
941 |
<telerik:GridViewDataColumn
|
942 |
Width="Auto" |
943 |
Header="NAME" |
944 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
945 |
IsReadOnly="True"> |
946 |
<telerik:GridViewDataColumn.CellTemplate>
|
947 |
<DataTemplate>
|
948 |
<TextBlock FontSize="10" Text="{Binding UserName, Mode=TwoWay}" /> |
949 |
</DataTemplate>
|
950 |
</telerik:GridViewDataColumn.CellTemplate>
|
951 |
</telerik:GridViewDataColumn>
|
952 |
<telerik:GridViewDataColumn
|
953 |
Width="Auto" |
954 |
Header="CONSOLIDATION" |
955 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
956 |
IsReadOnly="True"> |
957 |
<telerik:GridViewDataColumn.CellTemplate>
|
958 |
<DataTemplate>
|
959 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
960 |
<Grid>
|
961 |
<Grid.ColumnDefinitions>
|
962 |
<ColumnDefinition Width="Auto" /> |
963 |
<ColumnDefinition Width="Auto" /> |
964 |
<ColumnDefinition Width="Auto" /> |
965 |
</Grid.ColumnDefinitions>
|
966 |
|
967 |
<TextBlock
|
968 |
Grid.Column="0" |
969 |
Foreground="Red" |
970 |
Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" /> |
971 |
<TextBlock
|
972 |
Grid.Column="1" |
973 |
Foreground="Blue" |
974 |
Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" /> |
975 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
976 |
<!--
|
977 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
978 |
<TextBlock.Text>
|
979 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
980 |
</TextBlock.Text>
|
981 |
</TextBlock>
|
982 |
-->
|
983 |
</Grid>
|
984 |
</DataTemplate>
|
985 |
</telerik:GridViewDataColumn.CellTemplate>
|
986 |
</telerik:GridViewDataColumn>
|
987 |
|
988 |
<telerik:GridViewDataColumn
|
989 |
Width="Auto" |
990 |
Header="Comment Move" |
991 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
992 |
IsReadOnly="True"> |
993 |
<telerik:GridViewDataColumn.CellTemplate>
|
994 |
<DataTemplate>
|
995 |
<telerik:RadButton
|
996 |
HorizontalAlignment="Stretch" |
997 |
VerticalAlignment="Stretch" |
998 |
telerik:StyleManager.Theme="Office2016" |
999 |
Content="COPY" |
1000 |
PreviewMouseDown="Comment_Move" /> |
1001 |
<!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
|
1002 |
</DataTemplate>
|
1003 |
</telerik:GridViewDataColumn.CellTemplate>
|
1004 |
</telerik:GridViewDataColumn>
|
1005 |
|
1006 |
<telerik:GridViewDataColumn
|
1007 |
Width="*" |
1008 |
Header="" |
1009 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
1010 |
IsReadOnly="True" /> |
1011 |
</telerik:RadGridView.Columns>
|
1012 |
</telerik:RadGridView>
|
1013 |
</Grid>
|
1014 |
<!--</telerik:RadExpander>-->
|
1015 |
|
1016 |
|
1017 |
</Grid>
|
1018 |
</telerik:RadPane>
|
1019 |
</telerik:RadPaneGroup>
|
1020 |
</telerik:RadSplitContainer>
|
1021 |
</telerik:RadDocking.DocumentHost>
|
1022 |
<telerik:RadSplitContainer
|
1023 |
x:Name="thumbnailPanel" |
1024 |
InitialPosition="DockedLeft" |
1025 |
Orientation="Vertical" |
1026 |
SizeChanged="thumbnailPanel_SizeChanged" |
1027 |
Template="{DynamicResource RadSplitContainerControlTemplate}"> |
1028 |
<!-- Width="250" MinWidth="250" -->
|
1029 |
<!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
|
1030 |
<telerik:RadPaneGroup
|
1031 |
x:Name="PN_Navi" |
1032 |
Margin="0" |
1033 |
telerik:StyleManager.Theme="Office2016"> |
1034 |
<telerik:RadPane
|
1035 |
x:Name="radPanelPageNavi" |
1036 |
telerik:RadDocking.FloatingSize="50,NaN" |
1037 |
telerik:StyleManager.Theme="Office2016" |
1038 |
CanFloat="False" |
1039 |
CanUserClose="False" |
1040 |
CanUserPin="True" |
1041 |
ContextMenuTemplate="{x:Null}" |
1042 |
Header="DOCUMENT" |
1043 |
PaneHeaderVisibility="Visible"> |
1044 |
<!--<telerik:RadPane.TitleTemplate>
|
1045 |
<DataTemplate>
|
1046 |
<Grid>
|
1047 |
<Grid.ColumnDefinitions>
|
1048 |
<ColumnDefinition Width="Auto" />
|
1049 |
<ColumnDefinition />
|
1050 |
</Grid.ColumnDefinitions>
|
1051 |
<ContentPresenter Content="{Binding}"
|
1052 |
Margin="0,0,75,0" />
|
1053 |
<telerik:RadButton Grid.Column="1" Content="PIN"/>
|
1054 |
</Grid>
|
1055 |
</DataTemplate>
|
1056 |
</telerik:RadPane.TitleTemplate>-->
|
1057 |
<!--<Grid VerticalAlignment="Stretch" Margin="0">
|
1058 |
<Grid.RowDefinitions>
|
1059 |
<RowDefinition Height="30"/>
|
1060 |
<RowDefinition Height="*"/>
|
1061 |
</Grid.RowDefinitions>
|
1062 |
<Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
|
1063 |
<TextBlock Text="Thumbnail" Margin="5"/>
|
1064 |
</Border>
|
1065 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
|
1066 |
</Grid>-->
|
1067 |
<Grid>
|
1068 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
|
1069 |
<!--<Grid.RowDefinitions>
|
1070 |
<RowDefinition Height="Auto"/>
|
1071 |
<RowDefinition Height="*"/>
|
1072 |
</Grid.RowDefinitions>-->
|
1073 |
<!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8" Background="#FF0054B9" Foreground="White"
|
1074 |
BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
|
1075 |
<controls:Sample x:Name="pageNavigator" /> |
1076 |
</Grid>
|
1077 |
|
1078 |
</telerik:RadPane>
|
1079 |
<!--<telerik:RadPane Header="test" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
|
1080 |
ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
|
1081 |
|
1082 |
<Grid xmlns:drag="clr-namespace:Telerik.Windows.DragDrop.Behaviors;assembly=Telerik.Windows.Controls" >
|
1083 |
<Grid.Resources>
|
1084 |
<Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
|
1085 |
<Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
|
1086 |
</Style>
|
1087 |
</Grid.Resources>
|
1088 |
<telerik:RadListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal" AllowDrop="True">
|
1089 |
<telerik:RadListBox.DragDropBehavior>
|
1090 |
<telerik:ListBoxDragDropBehavior AllowReorder="True" />
|
1091 |
</telerik:RadListBox.DragDropBehavior>
|
1092 |
<telerik:RadListBox.DragVisualProvider >
|
1093 |
<telerik:ListBoxDragVisualProvider />
|
1094 |
</telerik:RadListBox.DragVisualProvider>
|
1095 |
</telerik:RadListBox>
|
1096 |
</Grid>
|
1097 |
|
1098 |
</telerik:RadPane>-->
|
1099 |
|
1100 |
</telerik:RadPaneGroup>
|
1101 |
</telerik:RadSplitContainer>
|
1102 |
|
1103 |
<telerik:RadSplitContainer
|
1104 |
Width="300" |
1105 |
MaxWidth="300" |
1106 |
InitialPosition="DockedRight" |
1107 |
Orientation="Vertical"> |
1108 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False"> |
1109 |
<telerik:RadPane
|
1110 |
x:Name="searchPane" |
1111 |
telerik:StyleManager.Theme="Office2016" |
1112 |
CanFloat="False" |
1113 |
CanUserClose="False" |
1114 |
ContextMenuTemplate="{x:Null}" |
1115 |
Header="SEARCH" |
1116 |
IsPinned="False" |
1117 |
Visibility="Visible"> |
1118 |
<controls:SearchPanel x:Name="searchPanel_Instance" /> |
1119 |
</telerik:RadPane>
|
1120 |
</telerik:RadPaneGroup>
|
1121 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False"> |
1122 |
<telerik:RadPane
|
1123 |
x:Name="talkPane" |
1124 |
telerik:StyleManager.Theme="Office2016" |
1125 |
CanFloat="False" |
1126 |
CanUserClose="False" |
1127 |
ContextMenuTemplate="{x:Null}" |
1128 |
Header="M-TALK" |
1129 |
IsPinned="False"> |
1130 |
<messanger:ConversationView /> |
1131 |
</telerik:RadPane>
|
1132 |
</telerik:RadPaneGroup>
|
1133 |
<telerik:RadPaneGroup
|
1134 |
telerik:StyleManager.Theme="Office2016" |
1135 |
IsTabStop="False" |
1136 |
Visibility="Visible"> |
1137 |
<telerik:RadPane
|
1138 |
x:Name="SymbolPane" |
1139 |
telerik:StyleManager.Theme="Office2016" |
1140 |
CanFloat="False" |
1141 |
CanUserClose="False" |
1142 |
ContextMenuTemplate="{x:Null}" |
1143 |
Header="SYMBOL" |
1144 |
IsPinned="False" |
1145 |
Visibility="Visible"> |
1146 |
<!--<controls:Symbol />-->
|
1147 |
<controls:Symbol x:Name="symbolPanel_Instance" /> |
1148 |
<!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
|
1149 |
</telerik:RadPane>
|
1150 |
</telerik:RadPaneGroup>
|
1151 |
<telerik:RadPaneGroup
|
1152 |
telerik:ProportionalStackPanel.RelativeSize="60, 100" |
1153 |
telerik:StyleManager.Theme="Office2016" |
1154 |
IsTabStop="False"> |
1155 |
<telerik:RadPane
|
1156 |
x:Name="FavoritePane" |
1157 |
telerik:StyleManager.Theme="Office2016" |
1158 |
CanFloat="False" |
1159 |
CanUserClose="False" |
1160 |
ContextMenuTemplate="{x:Null}" |
1161 |
Header="FAVORITE" |
1162 |
IsPinned="False" |
1163 |
Visibility="Visible"> |
1164 |
<controls:FavoritePanel /> |
1165 |
</telerik:RadPane>
|
1166 |
</telerik:RadPaneGroup>
|
1167 |
</telerik:RadSplitContainer>
|
1168 |
<telerik:RadSplitContainer InitialPosition="DockedBottom" Orientation="Horizontal"> |
1169 |
<telerik:RadPaneGroup
|
1170 |
telerik:ProportionalStackPanel.RelativeSize="140, 100" |
1171 |
telerik:StyleManager.Theme="Office2016" |
1172 |
AllowDrop="False" |
1173 |
IsTabStop="False"> |
1174 |
<telerik:RadPane
|
1175 |
x:Name="infoListPane" |
1176 |
telerik:StyleManager.Theme="Office2016" |
1177 |
CanFloat="False" |
1178 |
CanUserClose="False" |
1179 |
ContextMenuTemplate="{x:Null}" |
1180 |
Header="User information List"> |
1181 |
<telerik:RadPane.TitleTemplate>
|
1182 |
<DataTemplate>
|
1183 |
<Grid HorizontalAlignment="Stretch"> |
1184 |
<Grid.ColumnDefinitions>
|
1185 |
<ColumnDefinition Width="*" /> |
1186 |
<ColumnDefinition Width="Auto" /> |
1187 |
<ColumnDefinition Width="*" /> |
1188 |
</Grid.ColumnDefinitions>
|
1189 |
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal"> |
1190 |
<TextBlock
|
1191 |
Margin="1" |
1192 |
VerticalAlignment="Center" |
1193 |
Text="{Binding}" /> |
1194 |
<telerik:RadRibbonButton
|
1195 |
x:Name="btnConsolidate" |
1196 |
VerticalAlignment="Center" |
1197 |
telerik:StyleManager.Theme="Office2016" |
1198 |
Click="btnConsolidate_Click" |
1199 |
Loaded="btnConsolidate_Loaded" |
1200 |
ToolTipService.ToolTip="Consolidate"> |
1201 |
<Border
|
1202 |
Background="#E9F0F8" |
1203 |
BorderBrush="#839AB3" |
1204 |
BorderThickness="1"> |
1205 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1206 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
|
1207 |
<TextBlock
|
1208 |
Margin="1" |
1209 |
VerticalAlignment="Center" |
1210 |
Foreground="Black" |
1211 |
Text="Consolidate" /> |
1212 |
</StackPanel>
|
1213 |
</Border>
|
1214 |
</telerik:RadRibbonButton>
|
1215 |
<telerik:RadRibbonButton
|
1216 |
x:Name="btnTeamConsolidate" |
1217 |
VerticalAlignment="Center" |
1218 |
telerik:StyleManager.Theme="Office2016" |
1219 |
Click="btnTeamConsolidate_Click" |
1220 |
Loaded="btnTeamConsolidate_Loaded" |
1221 |
ToolTipService.ToolTip="Consolidate"> |
1222 |
<Border
|
1223 |
Background="#E9F0F8" |
1224 |
BorderBrush="#839AB3" |
1225 |
BorderThickness="1"> |
1226 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1227 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
|
1228 |
<TextBlock
|
1229 |
Margin="1" |
1230 |
VerticalAlignment="Center" |
1231 |
Foreground="Black" |
1232 |
Text="Team Consolidate" /> |
1233 |
</StackPanel>
|
1234 |
</Border>
|
1235 |
</telerik:RadRibbonButton>
|
1236 |
<telerik:RadRibbonButton
|
1237 |
x:Name="btnFinalPDF" |
1238 |
VerticalAlignment="Center" |
1239 |
telerik:StyleManager.Theme="Office2016" |
1240 |
Click="FinalPDFEvent" |
1241 |
Loaded="btnFinalPDF_Loaded" |
1242 |
ToolTipService.ToolTip="FinalPDF"> |
1243 |
<Border
|
1244 |
Background="#E9F0F8" |
1245 |
BorderBrush="#839AB3" |
1246 |
BorderThickness="1"> |
1247 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1248 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
1249 |
<TextBlock
|
1250 |
Margin="1" |
1251 |
VerticalAlignment="Center" |
1252 |
Foreground="Black" |
1253 |
Text="Merged PDF" /> |
1254 |
</StackPanel>
|
1255 |
</Border>
|
1256 |
</telerik:RadRibbonButton>
|
1257 |
<telerik:RadRibbonButton
|
1258 |
x:Name="btnConsolidateFinalPDF" |
1259 |
VerticalAlignment="Center" |
1260 |
telerik:StyleManager.Theme="Office2016" |
1261 |
Click="ConsolidateFinalPDFEvent" |
1262 |
Loaded="btnConsolidateFinalPDF_Loaded" |
1263 |
ToolTipService.ToolTip="Consolidate & FinalPDF" |
1264 |
Visibility="Collapsed"> |
1265 |
<Border
|
1266 |
Background="#E9F0F8" |
1267 |
BorderBrush="#839AB3" |
1268 |
BorderThickness="1"> |
1269 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1270 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
1271 |
<TextBlock
|
1272 |
Margin="1" |
1273 |
VerticalAlignment="Center" |
1274 |
Foreground="Black" |
1275 |
Text="Consolidate & Merged PDF" /> |
1276 |
</StackPanel>
|
1277 |
</Border>
|
1278 |
</telerik:RadRibbonButton>
|
1279 |
</StackPanel>
|
1280 |
<Line
|
1281 |
Grid.Column="1" |
1282 |
Width="2" |
1283 |
Margin="5,0" |
1284 |
VerticalAlignment="Center" |
1285 |
Stroke="Black" |
1286 |
X1="2" |
1287 |
X2="2" |
1288 |
Y1="2" |
1289 |
Y2="24" /> |
1290 |
<telerik:RadRibbonButton
|
1291 |
x:Name="btnColorList" |
1292 |
Grid.Column="2" |
1293 |
HorizontalAlignment="Right" |
1294 |
VerticalAlignment="Center" |
1295 |
telerik:StyleManager.Theme="Office2016" |
1296 |
Click="btnColorList_Click" |
1297 |
ToolTipService.ToolTip="Color Change"> |
1298 |
<Border
|
1299 |
Background="#E9F0F8" |
1300 |
BorderBrush="#839AB3" |
1301 |
BorderThickness="1"> |
1302 |
<Image Width="22" Source="/Resources/Images/MenuImage_New/rgb.png" /> |
1303 |
</Border>
|
1304 |
</telerik:RadRibbonButton>
|
1305 |
<!--<StackPanel Grid.Column="1"
|
1306 |
HorizontalAlignment="Right"
|
1307 |
Orientation="Horizontal">
|
1308 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
1309 |
Click="ExpandButtonEvent_Click"
|
1310 |
Tag="CLOSE"
|
1311 |
telerik:StyleManager.Theme="Windows8"
|
1312 |
ToolTipService.ToolTip="Expand On">
|
1313 |
</telerik:RadRibbonButton>
|
1314 |
|
1315 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
1316 |
Click="ExpandButtonEvent_Click"
|
1317 |
Tag="OPEN"
|
1318 |
telerik:StyleManager.Theme="Windows8"
|
1319 |
ToolTipService.ToolTip="Expand Off">
|
1320 |
<Image Width="15"
|
1321 |
RenderTransformOrigin="0.5,0.5">
|
1322 |
<Image.RenderTransform>
|
1323 |
<RotateTransform Angle="180" />
|
1324 |
</Image.RenderTransform>
|
1325 |
</Image>
|
1326 |
</telerik:RadRibbonButton>
|
1327 |
</StackPanel>-->
|
1328 |
</Grid>
|
1329 |
</DataTemplate>
|
1330 |
</telerik:RadPane.TitleTemplate>
|
1331 |
<telerik:RadGridView
|
1332 |
x:Name="gridViewMarkup" |
1333 |
HorizontalContentAlignment="Center" |
1334 |
telerik:StyleManager.Theme="Office2013" |
1335 |
AutoExpandGroups="True" |
1336 |
AutoGenerateColumns="False" |
1337 |
CanUserDeleteRows="True" |
1338 |
CanUserInsertRows="False" |
1339 |
CanUserSortColumns="True" |
1340 |
IsFilteringAllowed="False" |
1341 |
IsReadOnly="False" |
1342 |
MouseRightButtonDown="gridViewMarkup_MouseRightButtonDown" |
1343 |
RowIndicatorVisibility="Collapsed" |
1344 |
SelectionChanged="gridViewMarkup_SelectionChanged" |
1345 |
SelectionMode="Multiple" |
1346 |
SelectionUnit="FullRow" |
1347 |
ShowGroupFooters="False" |
1348 |
ShowGroupPanel="True" |
1349 |
Sorted="GridViewMarkup_Sorted" |
1350 |
Sorting="GridViewMarkup_Sorting"> |
1351 |
<!-- SelectedCellsChanged="gridViewMarkup_SelectedCellsChanged" -->
|
1352 |
<!--<telerik:RadGridView.GroupDescriptors>
|
1353 |
<telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
|
1354 |
<telerik:GroupDescriptor.AggregateFunctions>
|
1355 |
<telerik:CountFunction Caption="Entries count : " />
|
1356 |
</telerik:GroupDescriptor.AggregateFunctions>
|
1357 |
</telerik:GroupDescriptor>
|
1358 |
</telerik:RadGridView.GroupDescriptors>-->
|
1359 |
<telerik:RadGridView.RowStyle>
|
1360 |
<Style TargetType="telerik:GridViewRow"> |
1361 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
1362 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
1363 |
<Setter Property="Visibility" Value="{Binding Path=IsPreviewUser, Converter={StaticResource previewerVisibleConverter}}" /> |
1364 |
<!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
|
1365 |
</Style>
|
1366 |
</telerik:RadGridView.RowStyle>
|
1367 |
<telerik:RadGridView.Columns>
|
1368 |
<telerik:GridViewSelectColumn Width="Auto"> |
1369 |
<telerik:GridViewSelectColumn.Header>
|
1370 |
<CheckBox telerik:StyleManager.Theme="Office_Black" Click="gridViewMarkupAllSelect_Click" /> |
1371 |
</telerik:GridViewSelectColumn.Header>
|
1372 |
</telerik:GridViewSelectColumn>
|
1373 |
<telerik:GridViewDataColumn Width="Auto" Header="Color"> |
1374 |
<telerik:GridViewDataColumn.CellTemplate>
|
1375 |
<DataTemplate>
|
1376 |
<Grid>
|
1377 |
<Grid>
|
1378 |
<Border Background="{Binding DisplayColor, Converter={StaticResource StringToColorBrushConverter}}" /> |
1379 |
<TextBlock Foreground="#00000000" Text="Color" /> |
1380 |
</Grid>
|
1381 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
1382 |
<Image
|
1383 |
Height="15" |
1384 |
Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png" |
1385 |
Stretch="Uniform" /> |
1386 |
</Grid>
|
1387 |
</Grid>
|
1388 |
|
1389 |
</DataTemplate>
|
1390 |
</telerik:GridViewDataColumn.CellTemplate>
|
1391 |
<telerik:GridViewDataColumn.CellEditTemplate>
|
1392 |
<DataTemplate>
|
1393 |
<telerik:RadColorPicker SelectedColor="{Binding DisplayColor, Mode=TwoWay, Converter={StaticResource StringToColorConverter}}" /> |
1394 |
</DataTemplate>
|
1395 |
</telerik:GridViewDataColumn.CellEditTemplate>
|
1396 |
</telerik:GridViewDataColumn>
|
1397 |
<telerik:GridViewDataColumn
|
1398 |
Width="Auto" |
1399 |
DataMemberBinding="{Binding Depatment}" |
1400 |
Header="DEPT" |
1401 |
IsReadOnly="True"> |
1402 |
<telerik:GridViewDataColumn.CellTemplate>
|
1403 |
<DataTemplate>
|
1404 |
<TextBlock Text="{Binding Depatment}" /> |
1405 |
</DataTemplate>
|
1406 |
</telerik:GridViewDataColumn.CellTemplate>
|
1407 |
</telerik:GridViewDataColumn>
|
1408 |
<telerik:GridViewDataColumn
|
1409 |
Width="Auto" |
1410 |
DataMemberBinding="{Binding UserName}" |
1411 |
Header="NAME" |
1412 |
IsReadOnly="True"> |
1413 |
<telerik:GridViewDataColumn.CellTemplate>
|
1414 |
<DataTemplate>
|
1415 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}" /> |
1416 |
</DataTemplate>
|
1417 |
</telerik:GridViewDataColumn.CellTemplate>
|
1418 |
</telerik:GridViewDataColumn>
|
1419 |
<telerik:GridViewDataColumn
|
1420 |
Width="Auto" |
1421 |
Header="UPDATETIME" |
1422 |
IsReadOnly="True"> |
1423 |
<telerik:GridViewDataColumn.CellTemplate>
|
1424 |
<DataTemplate>
|
1425 |
<TextBlock Text="{Binding UpdateTime}" /> |
1426 |
</DataTemplate>
|
1427 |
</telerik:GridViewDataColumn.CellTemplate>
|
1428 |
</telerik:GridViewDataColumn>
|
1429 |
<telerik:GridViewDataColumn
|
1430 |
Width="Auto" |
1431 |
Header="CONSOLIDATION" |
1432 |
IsReadOnly="True"> |
1433 |
<telerik:GridViewDataColumn.CellTemplate>
|
1434 |
<DataTemplate>
|
1435 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
1436 |
<Grid>
|
1437 |
<Grid.ColumnDefinitions>
|
1438 |
<ColumnDefinition Width="Auto" /> |
1439 |
<ColumnDefinition Width="Auto" /> |
1440 |
<ColumnDefinition Width="Auto" /> |
1441 |
</Grid.ColumnDefinitions>
|
1442 |
|
1443 |
<TextBlock
|
1444 |
Grid.Column="0" |
1445 |
Foreground="Red" |
1446 |
Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" /> |
1447 |
<TextBlock
|
1448 |
Grid.Column="1" |
1449 |
Foreground="Blue" |
1450 |
Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" /> |
1451 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
1452 |
<!--
|
1453 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
1454 |
<TextBlock.Text>
|
1455 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
1456 |
</TextBlock.Text>
|
1457 |
</TextBlock>
|
1458 |
-->
|
1459 |
</Grid>
|
1460 |
</DataTemplate>
|
1461 |
</telerik:GridViewDataColumn.CellTemplate>
|
1462 |
</telerik:GridViewDataColumn>
|
1463 |
|
1464 |
<telerik:GridViewDataColumn
|
1465 |
Width="Auto" |
1466 |
Header="DELETE" |
1467 |
IsReadOnly="True"> |
1468 |
<telerik:GridViewDataColumn.CellTemplate>
|
1469 |
<DataTemplate>
|
1470 |
<Button
|
1471 |
Click="DeleteCommentEvent" |
1472 |
CommandParameter="{Binding}" |
1473 |
Content="DELETE" |
1474 |
Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" /> |
1475 |
</DataTemplate>
|
1476 |
</telerik:GridViewDataColumn.CellTemplate>
|
1477 |
</telerik:GridViewDataColumn>
|
1478 |
</telerik:RadGridView.Columns>
|
1479 |
</telerik:RadGridView>
|
1480 |
</telerik:RadPane>
|
1481 |
</telerik:RadPaneGroup>
|
1482 |
<telerik:RadPaneGroup
|
1483 |
telerik:ProportionalStackPanel.RelativeSize="100, 100" |
1484 |
telerik:StyleManager.Theme="Office2016" |
1485 |
IsTabStop="False"> |
1486 |
<telerik:RadPane
|
1487 |
x:Name="historyPane" |
1488 |
telerik:StyleManager.Theme="Office2016" |
1489 |
CanFloat="False" |
1490 |
CanUserClose="False" |
1491 |
ContextMenuTemplate="{x:Null}" |
1492 |
Header="Document History" |
1493 |
Visibility="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay, Converter={StaticResource BoolToVisibleConverter}}"> |
1494 |
<Grid>
|
1495 |
<telerik:RadGridView
|
1496 |
x:Name="gridViewHistory" |
1497 |
telerik:StyleManager.Theme="Office2013" |
1498 |
AutoExpandGroups="False" |
1499 |
AutoGenerateColumns="False" |
1500 |
CanUserDeleteRows="True" |
1501 |
CanUserInsertRows="False" |
1502 |
IsFilteringAllowed="False" |
1503 |
IsReadOnly="True" |
1504 |
RowIndicatorVisibility="Collapsed" |
1505 |
ShowGroupFooters="False" |
1506 |
ShowGroupPanel="False"> |
1507 |
<telerik:RadGridView.Columns>
|
1508 |
<telerik:GridViewDataColumn
|
1509 |
Width="Auto" |
1510 |
Header="Slip No" |
1511 |
IsReadOnly="True" |
1512 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1513 |
<telerik:GridViewDataColumn.CellTemplate>
|
1514 |
<DataTemplate>
|
1515 |
<telerik:RadButton
|
1516 |
Margin="5" |
1517 |
Background="Transparent" |
1518 |
BorderThickness="0" |
1519 |
Click="EnsembleLink_Button_Click" |
1520 |
Content="{Binding GroupNo}" |
1521 |
Tag="{Binding EnsembleLink}" /> |
1522 |
</DataTemplate>
|
1523 |
</telerik:GridViewDataColumn.CellTemplate>
|
1524 |
</telerik:GridViewDataColumn>
|
1525 |
<telerik:GridViewDataColumn
|
1526 |
Width="Auto" |
1527 |
Header="Doc No" |
1528 |
IsReadOnly="True"> |
1529 |
<telerik:GridViewDataColumn.CellTemplate>
|
1530 |
<DataTemplate>
|
1531 |
<TextBlock HorizontalAlignment="Center" Text="{Binding DocNo}" /> |
1532 |
</DataTemplate>
|
1533 |
</telerik:GridViewDataColumn.CellTemplate>
|
1534 |
</telerik:GridViewDataColumn>
|
1535 |
<telerik:GridViewDataColumn
|
1536 |
Width="Auto" |
1537 |
Header="Rev No" |
1538 |
IsReadOnly="True"> |
1539 |
<telerik:GridViewDataColumn.CellTemplate>
|
1540 |
<DataTemplate>
|
1541 |
<TextBlock HorizontalAlignment="Center" Text="{Binding RevNo}" /> |
1542 |
</DataTemplate>
|
1543 |
</telerik:GridViewDataColumn.CellTemplate>
|
1544 |
</telerik:GridViewDataColumn>
|
1545 |
<telerik:GridViewDataColumn
|
1546 |
Width="Auto" |
1547 |
Header="RESULT" |
1548 |
IsReadOnly="True" |
1549 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1550 |
<telerik:GridViewDataColumn.CellTemplate>
|
1551 |
<DataTemplate>
|
1552 |
<TextBlock HorizontalAlignment="Center" Text="{Binding RESULT}" /> |
1553 |
</DataTemplate>
|
1554 |
</telerik:GridViewDataColumn.CellTemplate>
|
1555 |
</telerik:GridViewDataColumn>
|
1556 |
<telerik:GridViewDataColumn
|
1557 |
telerik:StyleManager.Theme="Office2013" |
1558 |
CellStyle="{StaticResource GridViewAlign}" |
1559 |
DataMemberBinding="{Binding FROM_VENDOR}" |
1560 |
Header="File(in)" |
1561 |
HeaderTextAlignment="Center" |
1562 |
IsReadOnly="True" |
1563 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1564 |
<telerik:GridViewDataColumn.CellTemplate>
|
1565 |
<DataTemplate>
|
1566 |
<Image
|
1567 |
Height="22" |
1568 |
MouseLeftButtonDown="PdfLink_ButtonDown" |
1569 |
Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
1570 |
Tag="{Binding FROM_VENDOR}" |
1571 |
Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}" /> |
1572 |
</DataTemplate>
|
1573 |
</telerik:GridViewDataColumn.CellTemplate>
|
1574 |
</telerik:GridViewDataColumn>
|
1575 |
<telerik:GridViewDataColumn
|
1576 |
telerik:StyleManager.Theme="Office2013" |
1577 |
CellStyle="{StaticResource GridViewAlign}" |
1578 |
DataMemberBinding="{Binding TO_VENDOR}" |
1579 |
Header="File(out)" |
1580 |
HeaderTextAlignment="Center" |
1581 |
IsReadOnly="True" |
1582 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1583 |
<telerik:GridViewDataColumn.CellTemplate>
|
1584 |
<DataTemplate>
|
1585 |
<Image
|
1586 |
Height="22" |
1587 |
MouseLeftButtonDown="PdfLink_ButtonDown" |
1588 |
Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
1589 |
Tag="{Binding TO_VENDOR}" |
1590 |
Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}" /> |
1591 |
</DataTemplate>
|
1592 |
</telerik:GridViewDataColumn.CellTemplate>
|
1593 |
</telerik:GridViewDataColumn>
|
1594 |
|
1595 |
|
1596 |
<!--<telerik:GridViewDataColumn Header="FROM_VENDOR" IsReadOnly="True" Width="Auto">
|
1597 |
<telerik:GridViewDataColumn.CellTemplate>
|
1598 |
<DataTemplate>
|
1599 |
<telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
|
1600 |
<
|
1601 |
<TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
|
1602 |
</telerik:RadRibbonButton>
|
1603 |
</DataTemplate>
|
1604 |
</telerik:GridViewDataColumn.CellTemplate>
|
1605 |
</telerik:GridViewDataColumn>-->
|
1606 |
<!--<telerik:GridViewDataColumn Header="TO_VENDOR" IsReadOnly="True" Width="Auto">
|
1607 |
<telerik:GridViewDataColumn.CellTemplate>
|
1608 |
<DataTemplate>
|
1609 |
<TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
|
1610 |
</DataTemplate>
|
1611 |
</telerik:GridViewDataColumn.CellTemplate>
|
1612 |
</telerik:GridViewDataColumn>-->
|
1613 |
<telerik:GridViewDataColumn
|
1614 |
Width="Auto" |
1615 |
CellStyle="{StaticResource GridViewAlign}" |
1616 |
Header="SYNC" |
1617 |
HeaderTextAlignment="Center" |
1618 |
IsReadOnly="True"> |
1619 |
<telerik:GridViewDataColumn.CellTemplate>
|
1620 |
<DataTemplate>
|
1621 |
<!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
|
1622 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
|
1623 |
<telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016" Foreground="White"
|
1624 |
Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
|
1625 |
</Border>-->
|
1626 |
<telerik:RadButton
|
1627 |
Margin="5" |
1628 |
Background="Transparent" |
1629 |
BorderThickness="0" |
1630 |
Click="btnSync_Click" |
1631 |
CommandParameter="{Binding}" |
1632 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}"> |
1633 |
<telerik:RadButton.Content>
|
1634 |
<Image
|
1635 |
Width="20" |
1636 |
Height="20" |
1637 |
Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" |
1638 |
Stretch="Uniform" /> |
1639 |
</telerik:RadButton.Content>
|
1640 |
</telerik:RadButton>
|
1641 |
|
1642 |
<!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
|
1643 |
</DataTemplate>
|
1644 |
</telerik:GridViewDataColumn.CellTemplate>
|
1645 |
</telerik:GridViewDataColumn>
|
1646 |
<telerik:GridViewDataColumn
|
1647 |
telerik:StyleManager.Theme="Office2013" |
1648 |
CellStyle="{StaticResource GridViewAlign}" |
1649 |
DataMemberBinding="{Binding EnsembleLink}" |
1650 |
Header="Attachments" |
1651 |
HeaderTextAlignment="Center" |
1652 |
IsReadOnly="True" |
1653 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1654 |
<telerik:GridViewDataColumn.CellTemplate>
|
1655 |
<DataTemplate>
|
1656 |
<telerik:RadButton
|
1657 |
Margin="5" |
1658 |
Background="Transparent" |
1659 |
BorderThickness="0" |
1660 |
Click="EnsembleLink_Button_Click" |
1661 |
Content="Link" |
1662 |
Tag="{Binding EnsembleLink}" /> |
1663 |
</DataTemplate>
|
1664 |
</telerik:GridViewDataColumn.CellTemplate>
|
1665 |
</telerik:GridViewDataColumn>
|
1666 |
</telerik:RadGridView.Columns>
|
1667 |
</telerik:RadGridView>
|
1668 |
<telerik:RadBusyIndicator
|
1669 |
x:Name="gridViewHistory_Busy" |
1670 |
telerik:StyleManager.Theme="Office2016" |
1671 |
BusyContent="Sync Data Loading" |
1672 |
IsBusy="False" /> |
1673 |
</Grid>
|
1674 |
</telerik:RadPane>
|
1675 |
</telerik:RadPaneGroup>
|
1676 |
</telerik:RadSplitContainer>
|
1677 |
|
1678 |
|
1679 |
</telerik:RadDocking>
|
1680 |
</Grid>
|
1681 |
</UserControl>
|