프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ f4ec4218

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

1
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
6
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
7
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
8
             mc:Ignorable="d"   
9
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
10
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
11
    <UserControl.Resources>
12
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
13
            <Setter Property="VerticalContentAlignment" Value="Center"/>
14
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
15
            <Setter Property="BorderThickness" Value="0"/>
16
            <Setter Property="Background">
17
                <Setter.Value>
18
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
19
                </Setter.Value>
20
            </Setter>
21
            <!--<Setter Property="Background" Value="Black"/>-->
22
            <Setter Property="BorderBrush" Value="White"/>
23
            <Setter Property="Foreground" Value="White"/>
24
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
25
            <!--<Setter Property="FontWeight" Value="Black"/>-->
26
        </Style>
27
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
28
            <Setter Property="HorizontalContentAlignment" Value="Center" />
29
            <Setter Property="TextBlock.TextDecorations">
30
                <Setter.Value>
31
                    <TextDecorationCollection>
32
                        <TextDecoration Location="Underline" />
33
                        <TextDecoration Location="Overline" />
34
                        <TextDecoration  
35
                PenThicknessUnit="FontRecommended">
36
                            <TextDecoration.Pen>
37
                                <Pen Thickness="1.0">
38
                                    <Pen.Brush>
39
                                        <LinearGradientBrush Opacity="0.5"
40
                                StartPoint="0,0.5"  EndPoint="1,0.5">
41
                                            <LinearGradientBrush.GradientStops>
42
                                                <GradientStop Color="Yellow" Offset="0" />
43
                                                <GradientStop Color="Red" Offset="1" />
44
                                            </LinearGradientBrush.GradientStops>
45
                                        </LinearGradientBrush>
46
                                    </Pen.Brush>
47
                                </Pen>
48
                            </TextDecoration.Pen>
49
                        </TextDecoration>
50
                    </TextDecorationCollection>
51
                </Setter.Value>
52
            </Setter>
53
        </Style>
54
        <converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/>
55
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
56
        <converter:StringToColorConverter x:Key="StringToColorConverter"/>
57
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
58
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
59
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
60
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
61
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
62
    </UserControl.Resources>
63
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
64
        <!--<Grid.ColumnDefinitions>
65
            <ColumnDefinition Width="Auto"/>
66
            <ColumnDefinition Width="*"/>
67
        </Grid.ColumnDefinitions>-->
68
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
69
            -->
70
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
71
        <!--
72
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
73
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
74
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
75
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">                            
76
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>                            
77
                        </telerik:LayoutControlGroup>
78
                    </telerik:LayoutControlTabGroupItem>
79
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
80
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
81
                            <Border Background="Blue"/>
82
                        </telerik:LayoutControlGroup>
83
                    </telerik:LayoutControlTabGroupItem>
84
                </telerik:LayoutControlTabGroup>
85
            </telerik:RadLayoutControl>
86
        </Border>-->
87
        <!--<Grid.ColumnDefinitions>
88
            <ColumnDefinition Width="Auto"/>
89
            <ColumnDefinition Width="*"/>
90
            <ColumnDefinition Width="Auto"/>
91
        </Grid.ColumnDefinitions>-->
92
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
93
            <Border Background="White" Margin="50"/>
94
        </Border>-->
95
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
96
            <telerik:RadDocking.DocumentHost>
97
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
98
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
99
                        <telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
100
                            <telerik:RadDocumentPane.HeaderTemplate>
101
                                <DataTemplate>
102
                                    <Border Margin="0,0,0,0"/>
103
                                </DataTemplate>
104
                            </telerik:RadDocumentPane.HeaderTemplate>
105
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
106
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
107
                                <Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/>
108
                                <Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}">
109
                                    <TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/>
110
                                </Popup>
111
                                <telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving...">
112
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
113
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
114
                                                              MouseDown="zoomAndPanControl_MouseDown"
115
                                                              MouseMove="zoomAndPanControl_MouseMove"
116
                                                              MouseUp="zoomAndPanControl_MouseUp"
117
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
118
                                                              ScaleChanged="ZoomAndPanControl_ScaleChanged"
119
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
120
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
121
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
122
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
123
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
124
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
125
                                                              Background="LightGray">
126
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
127

    
128
                                        <Canvas x:Name="drawingRotateCanvas"
129
                                                        Panel.ZIndex="1"
130
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
131
                                            <Canvas.RenderTransform>
132
                                                <TransformGroup>
133
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
134
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
135
                                                </TransformGroup>
136
                                            </Canvas.RenderTransform>
137
                                            
138
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
139
                                          Panel.ZIndex="1">
140
                                                <ItemsControl.ItemsPanel>
141
                                                    <ItemsPanelTemplate>
142
                                                        <Canvas />
143
                                                    </ItemsPanelTemplate>
144
                                                </ItemsControl.ItemsPanel>
145
                                            </ItemsControl>
146
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
147
                                          Panel.ZIndex="30">
148
                                                <ItemsControl.ItemsPanel>
149
                                                    <ItemsPanelTemplate>
150
                                                        <Canvas />
151
                                                    </ItemsPanelTemplate>
152
                                                </ItemsControl.ItemsPanel>
153
                                            </ItemsControl>
154
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
155
                                            <InkCanvas x:Name="inkDrawingCanvas"
156
                                               Background="Transparent"
157
                                               IsEnabled="False"
158
                                               Panel.ZIndex="1"
159
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
160
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
161
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
162

    
163
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
164
                                            </InkCanvas>
165
                                            <!--강인구 추가-->
166
                                                <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
167
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
168
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
169
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
170
                                                </controls:ScaleDecodeImage>-->
171
                                                <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
172
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
173
                                                        Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
174
                                                         Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
175
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
176
                                                           >
177
                                                    </Image>
178
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
179
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
180
                                                    BorderBrush="Blue"
181
                                                    BorderThickness="1"
182
                                                    Background="LightBlue" 
183
                                                    CornerRadius="1"
184
                                                    Panel.ZIndex="1"
185
                                                    Opacity="0.5"/>
186
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
187
                                                    BorderBrush="Blue"
188
                                                    BorderThickness="1"
189
                                                    Background="Blue" 
190
                                                    CornerRadius="1"
191
                                                    Panel.ZIndex="1"
192
                                                    Opacity="0.5"/>
193
                                                
194
                                                <Border x:Name="dragZoomBorder" Visibility="Collapsed"
195
                                                    BorderThickness="3"
196
                                                    Background="Transparent" 
197
                                                    CornerRadius="1"
198
                                                    Panel.ZIndex="1"
199
                                                    Opacity="1">
200
                                                <Border.BorderBrush>
201
                                                    <VisualBrush>
202
                                                        <VisualBrush.Visual>
203
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
204
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
205
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
206
                                                        </VisualBrush.Visual>
207
                                                    </VisualBrush>
208
                                                </Border.BorderBrush>
209
                                            </Border>
210
                                            <!--<Border x:Name="dragZoomBorder"
211
                                                    BorderBrush="Black"
212
                                                    BorderThickness="1"
213
                                                    
214
                                                    Background="Transparent" 
215
                                                    CornerRadius="1"
216
                                                    Panel.ZIndex="1"
217
                                                    Opacity="0.5"/>-->
218
                                                <Border x:Name="SearchFocusBorder" Visibility="Collapsed"
219
                                                    BorderThickness="1"
220
                                                    Background="#50FF5D00"
221
                                                    CornerRadius="1"
222
                                                    Panel.ZIndex="1" IsHitTestVisible="False"/>
223
                                                <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
224
                                        </Canvas>
225

    
226
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
227

    
228
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
229
                                    </Canvas>
230

    
231
                                </ZoomAndPan:ZoomAndPanControl>
232
                                </telerik:RadBusyIndicator>
233
                                <!--캡쳐 화면을 위한 보더-->
234
                                <Border Background="LightGray" 
235
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
236
                                        IsHitTestVisible="False" >
237
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
238
                                </Border>
239
                                <Angle:AngleControl x:Name="MainAngle"
240
                                                        Grid.Column="1"
241
                                                        Grid.ColumnSpan="2"
242
                                                        Margin="10"
243
                                                        AngleValue="{Binding Angle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}"
244
                                                        HorizontalAlignment="Right"
245
                                                        VerticalAlignment="Top"
246
                                                        IsHitTestVisible="False"
247
                                                        Visibility="{Binding AngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
248
                            </Grid>
249
                        </telerik:RadDocumentPane>
250
                    </telerik:RadPaneGroup>
251
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
252
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
253
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
254
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
255
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
256
                                                              MouseMove="zoomAndPanControl2_MouseMove"
257
                                                              MouseDown="zoomAndPanControl2_MouseDown"
258
                                                              MouseUp="zoomAndPanControl2_MouseUp"
259
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
260
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
261
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
262
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
263
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
264
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
265
                                                              Background="LightGray">
266
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
267
                                        <Canvas x:Name="drawingRotateCanvas2"
268
                                                        Panel.ZIndex="1"
269
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
270
                                            <Canvas.RenderTransform>
271
                                                <TransformGroup>
272
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
273
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
274
                                                </TransformGroup>
275
                                            </Canvas.RenderTransform>
276
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
277
                                          Panel.ZIndex="1">
278
                                                <ItemsControl.ItemsPanel>
279
                                                    <ItemsPanelTemplate>
280
                                                        <Canvas >
281

    
282
                                                        </Canvas>
283
                                                    </ItemsPanelTemplate>
284
                                                </ItemsControl.ItemsPanel>
285
                                            </ItemsControl>
286
                                            <Image x:Name="ComparePanel"
287
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
288
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
289
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
290
                                            </Image>
291
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
292
                                                <!--<Canvas.RenderTransform>
293
                                                    -->
294
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
295
                                                <!--
296
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
297
                                                </Canvas.RenderTransform>-->
298
                                            </Canvas>
299
                                            <!--강인구 추가-->
300
                                        </Canvas>
301
                                    </Canvas>
302
                                </ZoomAndPan:ZoomAndPanControl>
303
                                <Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/>
304

    
305
                                <!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
306
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
307
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
308
                                        <TextBlock.RenderTransform>
309
                                            <RotateTransform Angle="-25"/>
310
                                        </TextBlock.RenderTransform>
311
                                    </TextBlock>
312
                                </Viewbox>-->
313

    
314
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
315
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
316
                                <Grid Height="Auto" VerticalAlignment="Top" >
317
                                    <Grid.RowDefinitions>
318
                                        <RowDefinition/>
319
                                        <RowDefinition/>
320
                                    </Grid.RowDefinitions>
321
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
322
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
323
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
324
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
325
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
326
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
327
                                    </StackPanel>
328
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
329
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
330
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
331
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
332

    
333
                                        <toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25"
334
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
335
                                                                       Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
336

    
337
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
338
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
339
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
340

    
341
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
342
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
343
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
344

    
345
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
346
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" Visibility="Collapsed"
347
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
348

    
349
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
350
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
351
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
352

    
353

    
354
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
355
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
356
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
357
                                            <Image Height="20"
358
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
359
                                                               Stretch="Uniform" />
360
                                        </telerik:RadRibbonButton>
361
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
362
                                            <Image Height="20"
363
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
364
                                                               Stretch="Uniform">
365
                                                <Image.RenderTransform>
366
                                                    <RotateTransform Angle="180"/>
367
                                                </Image.RenderTransform>
368
                                            </Image>
369
                                        </telerik:RadRibbonButton>
370
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
371
                                            <Image Height="20"
372
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
373
                                                               Stretch="Uniform" />
374
                                        </telerik:RadRibbonButton>
375
                                    </StackPanel>
376
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
377
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
378
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
379
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
380
                                        <telerik:RadGridView.HeaderRowStyle>
381
                                            <Style TargetType="telerik:GridViewHeaderRow">
382
                                                <Setter Property="BorderThickness" Value="0"/>
383
                                                <Setter Property="Background" Value="Red"/>
384
                                                <Setter Property="Foreground" Value="White"/>
385
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
386
                                                <Setter Property="FontWeight" Value="Black"/>
387
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
388
                                            </Style>
389
                                        </telerik:RadGridView.HeaderRowStyle>
390
                                        <telerik:RadGridView.RowStyle>
391
                                            <Style TargetType="telerik:GridViewRow">
392
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
393
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
394
                                                <Setter Property="Foreground" Value="White"/>
395
                                            </Style>
396
                                        </telerik:RadGridView.RowStyle>
397
                                        <telerik:RadGridView.Columns>
398
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
399
                                                <telerik:GridViewSelectColumn.Header>
400
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
401
                                                                           Visibility="Collapsed" Width="Auto">
402
                                                        <telerik:RadRibbonToggleButton.Content>
403
                                                            <Image HorizontalAlignment="Center"
404
                                                           VerticalAlignment="Center"
405
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
406
                                                        </telerik:RadRibbonToggleButton.Content>
407
                                                    </telerik:RadRibbonToggleButton>
408
                                                </telerik:GridViewSelectColumn.Header>
409
                                            </telerik:GridViewSelectColumn>
410
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
411
                                                                Header="Color" 
412
                                                                IsReadOnly="True">
413
                                                <telerik:GridViewDataColumn.CellTemplate>
414
                                                    <DataTemplate>
415
                                                        <Grid>
416
                                                            <Grid>
417
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
418
                                                                <TextBlock Foreground="#00000000" Text="Color" />
419
                                                            </Grid>
420
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
421
                                                                <Image Height="15"
422
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
423
                                                               Stretch="Uniform" />
424
                                                            </Grid>
425
                                                        </Grid>
426

    
427
                                                    </DataTemplate>
428
                                                </telerik:GridViewDataColumn.CellTemplate>
429
                                            </telerik:GridViewDataColumn>
430
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
431
                                                <telerik:GridViewDataColumn.CellTemplate>
432
                                                    <DataTemplate>
433
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
434
                                                    </DataTemplate>
435
                                                </telerik:GridViewDataColumn.CellTemplate>
436
                                            </telerik:GridViewDataColumn>
437
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
438
                                                <telerik:GridViewDataColumn.CellTemplate>
439
                                                    <DataTemplate>
440
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
441
                                                    </DataTemplate>
442
                                                </telerik:GridViewDataColumn.CellTemplate>
443
                                            </telerik:GridViewDataColumn>
444
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
445
                                                <telerik:GridViewDataColumn.CellTemplate>
446
                                                    <DataTemplate>
447
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
448
                                                        <Grid>
449
                                                            <Grid.ColumnDefinitions>
450
                                                                <ColumnDefinition Width="Auto" />
451
                                                                <ColumnDefinition Width="Auto" />
452
                                                                <ColumnDefinition Width="Auto" />
453
                                                            </Grid.ColumnDefinitions>
454

    
455
                                                            <TextBlock Grid.Column="0"
456
                                                               Foreground="Red"
457
                                                               Text="{Binding AvoidConsolidate,
458
                                                                              Converter={StaticResource AvoidStringConverter}}" />
459
                                                            <TextBlock Grid.Column="1"
460
                                                               Foreground="Blue"
461
                                                               Text="{Binding PartConsolidate,
462
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
463
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
464
                                                            <!--
465
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
466
                                                        <TextBlock.Text>
467
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
468
                                                        </TextBlock.Text>
469
                                                        </TextBlock>
470
                                                    -->
471
                                                        </Grid>
472
                                                    </DataTemplate>
473
                                                </telerik:GridViewDataColumn.CellTemplate>
474
                                            </telerik:GridViewDataColumn>
475

    
476
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
477
                                                <telerik:GridViewDataColumn.CellTemplate>
478
                                                    <DataTemplate>
479
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
480
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
481
                                                    </DataTemplate>
482
                                                </telerik:GridViewDataColumn.CellTemplate>
483
                                            </telerik:GridViewDataColumn>
484

    
485
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
486
                                            </telerik:GridViewDataColumn>
487
                                        </telerik:RadGridView.Columns>
488
                                    </telerik:RadGridView>
489
                                </Grid>
490
                                <!--</telerik:RadExpander>-->
491

    
492

    
493
                            </Grid>
494
                        </telerik:RadPane>
495
                    </telerik:RadPaneGroup>
496
                </telerik:RadSplitContainer>
497
            </telerik:RadDocking.DocumentHost>
498

    
499

    
500
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
501
                <!-- Width="250" MinWidth="250" -->
502
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
503
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
504
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
505
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
506
                        <!--<telerik:RadPane.TitleTemplate>
507
                            <DataTemplate>
508
                                <Grid>
509
                                    <Grid.ColumnDefinitions>
510
                                        <ColumnDefinition Width="Auto" />
511
                                        <ColumnDefinition />
512
                                    </Grid.ColumnDefinitions>
513
                                    <ContentPresenter Content="{Binding}"
514
                                                      Margin="0,0,75,0" />
515
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
516
                                </Grid>
517
                            </DataTemplate>
518
                        </telerik:RadPane.TitleTemplate>-->
519
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
520
                            <Grid.RowDefinitions>
521
                                <RowDefinition Height="30"/>
522
                                <RowDefinition Height="*"/>
523
                            </Grid.RowDefinitions>
524
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
525
                                <TextBlock Text="Thumbnail" Margin="5"/>
526
                            </Border>
527
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
528
                        </Grid>-->
529
                        <Grid>
530
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
531
                            <!--<Grid.RowDefinitions>
532
                                <RowDefinition Height="Auto"/>
533
                                <RowDefinition Height="*"/>
534
                            </Grid.RowDefinitions>-->
535
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
536
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
537
                            <controls:Sample x:Name="pageNavigator"/>
538
                        </Grid>
539

    
540
                    </telerik:RadPane>
541
                </telerik:RadPaneGroup>
542
            </telerik:RadSplitContainer>
543

    
544
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
545
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
546
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
547
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
548
                    </telerik:RadPane>
549
                </telerik:RadPaneGroup>
550
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
551
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
552
                        <messanger:ConversationView/>
553
                    </telerik:RadPane>
554
                </telerik:RadPaneGroup>
555
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
556
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
557
                        <!--<controls:Symbol />-->
558
                        <controls:Symbol x:Name="symbolPanel_Instance"/>
559
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
560
                    </telerik:RadPane>
561
                </telerik:RadPaneGroup>
562
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
563
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
564
                        <controls:FavoritePanel/>
565
                    </telerik:RadPane>
566
                </telerik:RadPaneGroup>
567
            </telerik:RadSplitContainer>
568
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
569
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
570
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
571
                        <telerik:RadPane.TitleTemplate>
572
                            <DataTemplate>
573
                                <Grid>
574
                                    <Grid.ColumnDefinitions>
575
                                        <ColumnDefinition Width="*" />
576
                                        <ColumnDefinition Width="Auto" />
577
                                    </Grid.ColumnDefinitions>
578

    
579
                                    <StackPanel Orientation="Horizontal">
580
                                        <TextBlock Margin="1"
581
                                                   VerticalAlignment="Center"
582
                                                   Text="{Binding}" />
583
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
584
                                                                 VerticalAlignment="Center"
585
                                                                 Click="btnConsolidate_Click"
586
                                                                 Loaded="btnConsolidate_Loaded"
587
                                                                 telerik:StyleManager.Theme="Office2016"
588
                                                                 ToolTipService.ToolTip="Consolidate">
589
                                            <Border Background="#E9F0F8"
590
                                                    BorderBrush="#839AB3"
591
                                                    BorderThickness="1">
592
                                                <StackPanel Margin="1" Orientation="Horizontal">
593
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
594
                                                    <TextBlock Margin="1"
595
                                                               VerticalAlignment="Center"
596
                                                               Foreground="Black"
597
                                                               Text="Consolidate" />
598
                                                </StackPanel>
599
                                            </Border>
600
                                        </telerik:RadRibbonButton>
601
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
602
                                                                 VerticalAlignment="Center"
603
                                                                 Click="btnTeamConsolidate_Click"
604
                                                                 Loaded="btnTeamConsolidate_Loaded"
605
                                                                 telerik:StyleManager.Theme="Office2016"
606
                                                                 ToolTipService.ToolTip="Consolidate">
607
                                            <Border Background="#E9F0F8"
608
                                                    BorderBrush="#839AB3"
609
                                                    BorderThickness="1">
610
                                                <StackPanel Margin="1" Orientation="Horizontal">
611
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
612
                                                    <TextBlock Margin="1"
613
                                                               VerticalAlignment="Center"
614
                                                               Foreground="Black"
615
                                                               Text="Team Consolidate" />
616
                                                </StackPanel>
617
                                            </Border>
618
                                        </telerik:RadRibbonButton>
619
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
620
                                                                 VerticalAlignment="Center"
621
                                                                 Click="FinalPDFEvent"
622
                                                                 Loaded="btnFinalPDF_Loaded"
623
                                                                 telerik:StyleManager.Theme="Office2016"
624
                                                                 ToolTipService.ToolTip="FinalPDF">
625
                                            <Border Background="#E9F0F8"
626
                                                    BorderBrush="#839AB3"
627
                                                    BorderThickness="1">
628
                                                <StackPanel Margin="1" Orientation="Horizontal">
629
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
630
                                                    <TextBlock Margin="1"
631
                                                               VerticalAlignment="Center"
632
                                                               Foreground="Black"
633
                                                               Text="Merged PDF" />
634
                                                </StackPanel>
635
                                            </Border>
636
                                        </telerik:RadRibbonButton>
637
                                        <telerik:RadRibbonButton x:Name="btnConsolidateFinalPDF"
638
                                                                 VerticalAlignment="Center"
639
                                                                 Click="ConsolidateFinalPDFEvent"
640
                                                                 Loaded="btnConsolidateFinalPDF_Loaded"
641
                                                                 telerik:StyleManager.Theme="Office2016"
642
                                                                 ToolTipService.ToolTip="Consolidate &amp; FinalPDF">
643
                                            <Border Background="#E9F0F8"
644
                                                    BorderBrush="#839AB3"
645
                                                    BorderThickness="1">
646
                                                <StackPanel Margin="1" Orientation="Horizontal">
647
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
648
                                                    <TextBlock Margin="1"
649
                                                               VerticalAlignment="Center"
650
                                                               Foreground="Black"
651
                                                               Text="Consolidate &amp; Merged PDF" />
652
                                                </StackPanel>
653
                                            </Border>
654
                                        </telerik:RadRibbonButton>
655
                                    </StackPanel>
656
                                    <!--<StackPanel Grid.Column="1"
657
                                                HorizontalAlignment="Right"
658
                                                Orientation="Horizontal">
659
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
660
                                                                 Click="ExpandButtonEvent_Click"
661
                                                                 Tag="CLOSE"
662
                                                                 telerik:StyleManager.Theme="Windows8"
663
                                                                 ToolTipService.ToolTip="Expand On">
664
                                        </telerik:RadRibbonButton>
665

666
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
667
                                                                 Click="ExpandButtonEvent_Click"
668
                                                                 Tag="OPEN"
669
                                                                 telerik:StyleManager.Theme="Windows8"
670
                                                                 ToolTipService.ToolTip="Expand Off">
671
                                            <Image Width="15"
672
                                                   RenderTransformOrigin="0.5,0.5">
673
                                                <Image.RenderTransform>
674
                                                    <RotateTransform Angle="180" />
675
                                                </Image.RenderTransform>
676
                                            </Image>
677
                                        </telerik:RadRibbonButton>
678
                                    </StackPanel>-->
679
                                </Grid>
680
                            </DataTemplate>
681
                        </telerik:RadPane.TitleTemplate>
682
                        <telerik:RadGridView IsReadOnly="True" telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True"  x:Name="gridViewMarkup"
683
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
684
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" 
685
                                             CanUserSortColumns ="True" >
686
                            <telerik:RadGridView.GroupDescriptors>
687
                                <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
688
                                    <telerik:GroupDescriptor.AggregateFunctions>
689
                                        <telerik:CountFunction Caption="Entries count : " />
690
                                    </telerik:GroupDescriptor.AggregateFunctions>
691
                                </telerik:GroupDescriptor>
692
                                
693
                            </telerik:RadGridView.GroupDescriptors>
694
                            <telerik:RadGridView.RowStyle>
695
                                <Style TargetType="telerik:GridViewRow">
696
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
697
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
698
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
699
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
700
                                </Style>
701
                            </telerik:RadGridView.RowStyle>
702
                            <telerik:RadGridView.Columns>
703
                                <telerik:GridViewSelectColumn Width="Auto">
704
                                    <telerik:GridViewSelectColumn.Header>
705
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
706
                                                                           Visibility="Collapsed" Width="Auto">
707
                                            <telerik:RadRibbonToggleButton.Content>
708
                                                <Image HorizontalAlignment="Center"
709
                                                           VerticalAlignment="Center"
710
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
711
                                            </telerik:RadRibbonToggleButton.Content>
712
                                        </telerik:RadRibbonToggleButton>
713
                                    </telerik:GridViewSelectColumn.Header>
714
                                </telerik:GridViewSelectColumn>
715
                                <telerik:GridViewDataColumn Width="Auto"
716
                                                                Header="Color"
717
                                                                IsReadOnly="True">
718
                                    <telerik:GridViewDataColumn.CellTemplate>
719
                                        <DataTemplate>
720
                                            <Grid>
721
                                                <Grid>
722
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
723
                                                    <TextBlock Foreground="#00000000" Text="Color" />
724
                                                </Grid>
725
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
726
                                                    <Image Height="15"
727
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
728
                                                               Stretch="Uniform" />
729
                                                </Grid>
730
                                            </Grid>
731

    
732
                                        </DataTemplate>
733
                                    </telerik:GridViewDataColumn.CellTemplate>
734
                                </telerik:GridViewDataColumn>
735
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" DataMemberBinding="{Binding Depatment}" >
736
                                    <telerik:GridViewDataColumn.CellTemplate>
737
                                        <DataTemplate>
738
                                            <TextBlock Text="{Binding Depatment}"/>
739
                                        </DataTemplate>
740
                                    </telerik:GridViewDataColumn.CellTemplate>
741
                                </telerik:GridViewDataColumn>
742
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}">
743
                                    <telerik:GridViewDataColumn.CellTemplate>
744
                                        <DataTemplate>
745
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
746
                                        </DataTemplate>
747
                                    </telerik:GridViewDataColumn.CellTemplate>
748
                                </telerik:GridViewDataColumn>
749
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
750
                                    <telerik:GridViewDataColumn.CellTemplate>
751
                                        <DataTemplate>
752
                                            <TextBlock Text="{Binding UpdateTime}"/>
753
                                        </DataTemplate>
754
                                    </telerik:GridViewDataColumn.CellTemplate>
755
                                </telerik:GridViewDataColumn>
756
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
757
                                    <telerik:GridViewDataColumn.CellTemplate>
758
                                        <DataTemplate>
759
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
760
                                            <Grid>
761
                                                <Grid.ColumnDefinitions>
762
                                                    <ColumnDefinition Width="Auto" />
763
                                                    <ColumnDefinition Width="Auto" />
764
                                                    <ColumnDefinition Width="Auto" />
765
                                                </Grid.ColumnDefinitions>
766

    
767
                                                <TextBlock Grid.Column="0"
768
                                                               Foreground="Red"
769
                                                               Text="{Binding AvoidConsolidate,
770
                                                                              Converter={StaticResource AvoidStringConverter}}" />
771
                                                <TextBlock Grid.Column="1"
772
                                                               Foreground="Blue"
773
                                                               Text="{Binding PartConsolidate,
774
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
775
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
776
                                                <!--
777
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
778
                                                        <TextBlock.Text>
779
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
780
                                                        </TextBlock.Text>
781
                                                        </TextBlock>
782
                                                    -->
783
                                            </Grid>
784
                                        </DataTemplate>
785
                                    </telerik:GridViewDataColumn.CellTemplate>
786
                                </telerik:GridViewDataColumn>
787
                                
788
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
789
                                    <telerik:GridViewDataColumn.CellTemplate>
790
                                        <DataTemplate>
791
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
792
                                        </DataTemplate>
793
                                    </telerik:GridViewDataColumn.CellTemplate>
794
                                </telerik:GridViewDataColumn>
795
                            </telerik:RadGridView.Columns>
796
                        </telerik:RadGridView>
797
                    </telerik:RadPane>
798
                </telerik:RadPaneGroup>
799
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="100, 100">
800
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
801
                        <Grid>
802
                            <telerik:RadGridView IsReadOnly="True" telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
803
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
804
                                <telerik:RadGridView.Columns>
805
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
806
                                        <telerik:GridViewDataColumn.CellTemplate>
807
                                            <DataTemplate>
808
                                                <telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
809
                                                </telerik:RadButton>
810
                                            </DataTemplate>
811
                                        </telerik:GridViewDataColumn.CellTemplate>
812
                                    </telerik:GridViewDataColumn>
813
                                    <telerik:GridViewDataColumn Header="Doc No"  IsReadOnly="True" Width="Auto">
814
                                        <telerik:GridViewDataColumn.CellTemplate>
815
                                            <DataTemplate>
816
                                                <TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/>
817
                                            </DataTemplate>
818
                                        </telerik:GridViewDataColumn.CellTemplate>
819
                                    </telerik:GridViewDataColumn>
820
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
821
                                        <telerik:GridViewDataColumn.CellTemplate>
822
                                            <DataTemplate>
823
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
824
                                            </DataTemplate>
825
                                        </telerik:GridViewDataColumn.CellTemplate>
826
                                    </telerik:GridViewDataColumn>
827
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
828
                                        <telerik:GridViewDataColumn.CellTemplate>
829
                                            <DataTemplate>
830
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
831
                                            </DataTemplate>
832
                                        </telerik:GridViewDataColumn.CellTemplate>
833
                                    </telerik:GridViewDataColumn>
834
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
835
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
836
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
837
                                                                        HeaderTextAlignment="Center">
838
                                        <telerik:GridViewDataColumn.CellTemplate>
839
                                            <DataTemplate>
840
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
841
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
842
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
843
                                            </DataTemplate>
844
                                        </telerik:GridViewDataColumn.CellTemplate>
845
                                    </telerik:GridViewDataColumn>
846

    
847
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
848
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
849
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
850
                                                                        HeaderTextAlignment="Center">
851
                                        <telerik:GridViewDataColumn.CellTemplate>
852
                                            <DataTemplate>
853
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
854
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
855
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
856
                                            </DataTemplate>
857
                                        </telerik:GridViewDataColumn.CellTemplate>
858
                                    </telerik:GridViewDataColumn>
859

    
860

    
861
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
862
                                    <telerik:GridViewDataColumn.CellTemplate>
863
                                        <DataTemplate>
864
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
865
                                                <
866
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
867
                                            </telerik:RadRibbonButton>                                            
868
                                        </DataTemplate>
869
                                    </telerik:GridViewDataColumn.CellTemplate>
870
                                </telerik:GridViewDataColumn>-->
871
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
872
                                    <telerik:GridViewDataColumn.CellTemplate>
873
                                        <DataTemplate>
874
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
875
                                        </DataTemplate>
876
                                    </telerik:GridViewDataColumn.CellTemplate>
877
                                </telerik:GridViewDataColumn>-->
878
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
879
                                        <telerik:GridViewDataColumn.CellTemplate>
880
                                            <DataTemplate>
881
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
882
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
883
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
884
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
885
                                                </Border>-->
886
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
887
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
888
                                                    <telerik:RadButton.Content>
889
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
890
                                                    </telerik:RadButton.Content>
891
                                                </telerik:RadButton>
892

    
893
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
894
                                            </DataTemplate>
895
                                        </telerik:GridViewDataColumn.CellTemplate>
896
                                    </telerik:GridViewDataColumn>
897
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
898
                                                                        DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
899
                                                                        Header="Attachments" telerik:StyleManager.Theme="Office2013"
900
                                                                        HeaderTextAlignment="Center">
901
                                        <telerik:GridViewDataColumn.CellTemplate>
902
                                            <DataTemplate>
903
                                                <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
904

    
905
                                                </telerik:RadButton>
906
                                            </DataTemplate>
907
                                        </telerik:GridViewDataColumn.CellTemplate>
908
                                    </telerik:GridViewDataColumn>
909
                                </telerik:RadGridView.Columns>
910
                            </telerik:RadGridView>
911
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
912
                                                  BusyContent="Sync Data Loading"/>
913
                        </Grid>
914
                    </telerik:RadPane>
915
                </telerik:RadPaneGroup>
916
            </telerik:RadSplitContainer>
917

    
918

    
919
        </telerik:RadDocking>
920
    </Grid>
921
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)