프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 92442e4a

이력 | 보기 | 이력해설 | 다운로드 (77.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" RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
172
                                                        Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
173
                                                           >
174
                                                    </Image>-->
175
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
176
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
177
                                                    BorderBrush="Blue"
178
                                                    BorderThickness="1"
179
                                                    Background="LightBlue" 
180
                                                    CornerRadius="1"
181
                                                    Panel.ZIndex="1"
182
                                                    Opacity="0.5"/>
183
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
184
                                                    BorderBrush="Blue"
185
                                                    BorderThickness="1"
186
                                                    Background="Blue" 
187
                                                    CornerRadius="1"
188
                                                    Panel.ZIndex="1"
189
                                                    Opacity="0.5"/>
190
                                            <Border x:Name="dragZoomBorder" Visibility="Collapsed"
191
                                                    BorderThickness="3"
192
                                                    Background="Transparent" 
193
                                                    CornerRadius="1"
194
                                                    Panel.ZIndex="1"
195
                                                    Opacity="1">
196
                                                <Border.BorderBrush>
197
                                                    <VisualBrush>
198
                                                        <VisualBrush.Visual>
199
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
200
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
201
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
202
                                                        </VisualBrush.Visual>
203
                                                    </VisualBrush>
204
                                                </Border.BorderBrush>
205
                                            </Border>
206
                                            <!--<Border x:Name="dragZoomBorder"
207
                                                    BorderBrush="Black"
208
                                                    BorderThickness="1"
209
                                                    
210
                                                    Background="Transparent" 
211
                                                    CornerRadius="1"
212
                                                    Panel.ZIndex="1"
213
                                                    Opacity="0.5"/>-->
214

    
215

    
216
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
217
                                        </Canvas>
218

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

    
221
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
222
                                    </Canvas>
223

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

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

    
298
                                <Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
299
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
300
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
301
                                        <TextBlock.RenderTransform>
302
                                            <RotateTransform Angle="-25"/>
303
                                        </TextBlock.RenderTransform>
304
                                    </TextBlock>
305
                                </Viewbox>
306

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

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

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

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

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

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

    
346

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

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

    
448
                                                            <TextBlock Grid.Column="0"
449
                                                               Foreground="Red"
450
                                                               Text="{Binding AvoidConsolidate,
451
                                                                              Converter={StaticResource AvoidStringConverter}}" />
452
                                                            <TextBlock Grid.Column="1"
453
                                                               Foreground="Blue"
454
                                                               Text="{Binding PartConsolidate,
455
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
456
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
457
                                                            <!--
458
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
459
                                                        <TextBlock.Text>
460
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
461
                                                        </TextBlock.Text>
462
                                                        </TextBlock>
463
                                                    -->
464
                                                        </Grid>
465
                                                    </DataTemplate>
466
                                                </telerik:GridViewDataColumn.CellTemplate>
467
                                            </telerik:GridViewDataColumn>
468

    
469
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
470
                                                <telerik:GridViewDataColumn.CellTemplate>
471
                                                    <DataTemplate>
472
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
473
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
474
                                                    </DataTemplate>
475
                                                </telerik:GridViewDataColumn.CellTemplate>
476
                                            </telerik:GridViewDataColumn>
477

    
478
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
479
                                            </telerik:GridViewDataColumn>
480
                                        </telerik:RadGridView.Columns>
481
                                    </telerik:RadGridView>
482
                                </Grid>
483
                                <!--</telerik:RadExpander>-->
484

    
485

    
486
                            </Grid>
487
                        </telerik:RadPane>
488
                    </telerik:RadPaneGroup>
489
                </telerik:RadSplitContainer>
490
            </telerik:RadDocking.DocumentHost>
491

    
492

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

    
533
                    </telerik:RadPane>
534
                </telerik:RadPaneGroup>
535
            </telerik:RadSplitContainer>
536

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

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

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

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

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

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

    
853

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

    
886
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
887
                                            </DataTemplate>
888
                                        </telerik:GridViewDataColumn.CellTemplate>
889
                                    </telerik:GridViewDataColumn>
890
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
891
                                                                        DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
892
                                                                        Header="Attachments" telerik:StyleManager.Theme="Office2013"
893
                                                                        HeaderTextAlignment="Center">
894
                                        <telerik:GridViewDataColumn.CellTemplate>
895
                                            <DataTemplate>
896
                                                <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
897

    
898
                                                </telerik:RadButton>
899
                                            </DataTemplate>
900
                                        </telerik:GridViewDataColumn.CellTemplate>
901
                                    </telerik:GridViewDataColumn>
902
                                </telerik:RadGridView.Columns>
903
                            </telerik:RadGridView>
904
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
905
                                                  BusyContent="Sync Data Loading"/>
906
                        </Grid>
907
                    </telerik:RadPane>
908
                </telerik:RadPaneGroup>
909
            </telerik:RadSplitContainer>
910

    
911

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