프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ df2e7646

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

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

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

    
220

    
221
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
222
                                        </Canvas>
223

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

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

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

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

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

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

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

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

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

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

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

    
351

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

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

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

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

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

    
490

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

    
497

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

    
538
                    </telerik:RadPane>
539
                </telerik:RadPaneGroup>
540
            </telerik:RadSplitContainer>
541

    
542
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight">
543
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
544
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
545
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
546
                    </telerik:RadPane>
547
                </telerik:RadPaneGroup>
548
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
549
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
550
                        <messanger:ConversationView/>
551
                    </telerik:RadPane>
552
                </telerik:RadPaneGroup>
553
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
554
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
555
                        <!--<controls:Symbol />-->
556
                        <controls:Symbol x:Name="symbolPanel_Instance"/>
557
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
558
                    </telerik:RadPane>
559
                </telerik:RadPaneGroup>
560
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
561
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
562
                        <controls:FavoritePanel/>
563
                    </telerik:RadPane>
564
                </telerik:RadPaneGroup>
565
            </telerik:RadSplitContainer>
566
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom" Height="250">
567
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
568
                    <telerik:RadPane Header="Document Information" CloseButtonVisibility="Collapsed" CanFloat="False">
569
                        <telerik:RadLayoutControl ScrollViewer.HorizontalScrollBarVisibility="Disabled"  ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedItem="{x:Null}">
570
                            <telerik:LayoutControlExpanderGroup ScrollViewer.HorizontalScrollBarVisibility="Disabled"   ScrollViewer.VerticalScrollBarVisibility="Disabled"  IsExpandable="False" x:Name="infoListPane"  Header="User information List" telerik:StyleManager.Theme="Office2016">
571
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True"  x:Name="gridViewMarkup"
572
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
573
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" 
574
                                             CanUserSortColumns ="True" >
575
                            <telerik:RadGridView.GroupDescriptors>
576
                                <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
577
                                    <telerik:GroupDescriptor.AggregateFunctions>
578
                                        <telerik:CountFunction Caption="Entries count : " />
579
                                    </telerik:GroupDescriptor.AggregateFunctions>
580
                                </telerik:GroupDescriptor>
581

    
582
                            </telerik:RadGridView.GroupDescriptors>
583
                            <telerik:RadGridView.RowStyle>
584
                                <Style TargetType="telerik:GridViewRow">
585
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
586
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
587
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
588
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
589
                                </Style>
590
                            </telerik:RadGridView.RowStyle>
591
                            <telerik:RadGridView.Columns>
592
                                <telerik:GridViewSelectColumn Width="Auto">
593
                                    <telerik:GridViewSelectColumn.Header>
594
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
595
                                                                           Visibility="Collapsed" Width="Auto">
596
                                            <telerik:RadRibbonToggleButton.Content>
597
                                                <Image HorizontalAlignment="Center"
598
                                                           VerticalAlignment="Center"
599
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
600
                                            </telerik:RadRibbonToggleButton.Content>
601
                                        </telerik:RadRibbonToggleButton>
602
                                    </telerik:GridViewSelectColumn.Header>
603
                                </telerik:GridViewSelectColumn>
604
                                <telerik:GridViewDataColumn Width="Auto"
605
                                                                Header="Color"
606
                                                                IsReadOnly="True">
607
                                    <telerik:GridViewDataColumn.CellTemplate>
608
                                        <DataTemplate>
609
                                            <Grid>
610
                                                <Grid>
611
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
612
                                                    <TextBlock Foreground="#00000000" Text="Color" />
613
                                                </Grid>
614
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
615
                                                    <Image Height="15"
616
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
617
                                                               Stretch="Uniform" />
618
                                                </Grid>
619
                                            </Grid>
620

    
621
                                        </DataTemplate>
622
                                    </telerik:GridViewDataColumn.CellTemplate>
623
                                </telerik:GridViewDataColumn>
624
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" DataMemberBinding="{Binding Depatment}" >
625
                                    <telerik:GridViewDataColumn.CellTemplate>
626
                                        <DataTemplate>
627
                                            <TextBlock Text="{Binding Depatment}"/>
628
                                        </DataTemplate>
629
                                    </telerik:GridViewDataColumn.CellTemplate>
630
                                </telerik:GridViewDataColumn>
631
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}">
632
                                    <telerik:GridViewDataColumn.CellTemplate>
633
                                        <DataTemplate>
634
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
635
                                        </DataTemplate>
636
                                    </telerik:GridViewDataColumn.CellTemplate>
637
                                </telerik:GridViewDataColumn>
638
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
639
                                    <telerik:GridViewDataColumn.CellTemplate>
640
                                        <DataTemplate>
641
                                            <TextBlock Text="{Binding UpdateTime}"/>
642
                                        </DataTemplate>
643
                                    </telerik:GridViewDataColumn.CellTemplate>
644
                                </telerik:GridViewDataColumn>
645
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
646
                                    <telerik:GridViewDataColumn.CellTemplate>
647
                                        <DataTemplate>
648
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
649
                                            <Grid>
650
                                                <Grid.ColumnDefinitions>
651
                                                    <ColumnDefinition Width="Auto" />
652
                                                    <ColumnDefinition Width="Auto" />
653
                                                    <ColumnDefinition Width="Auto" />
654
                                                </Grid.ColumnDefinitions>
655

    
656
                                                <TextBlock Grid.Column="0"
657
                                                               Foreground="Red"
658
                                                               Text="{Binding AvoidConsolidate,
659
                                                                              Converter={StaticResource AvoidStringConverter}}" />
660
                                                <TextBlock Grid.Column="1"
661
                                                               Foreground="Blue"
662
                                                               Text="{Binding PartConsolidate,
663
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
664
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
665
                                                <!--
666
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
667
                                                        <TextBlock.Text>
668
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
669
                                                        </TextBlock.Text>
670
                                                        </TextBlock>
671
                                                    -->
672
                                            </Grid>
673
                                        </DataTemplate>
674
                                    </telerik:GridViewDataColumn.CellTemplate>
675
                                </telerik:GridViewDataColumn>
676
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
677
                                    <telerik:GridViewDataColumn.CellTemplate>
678
                                        <DataTemplate>
679
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
680
                                        </DataTemplate>
681
                                    </telerik:GridViewDataColumn.CellTemplate>
682
                                </telerik:GridViewDataColumn>
683
                            </telerik:RadGridView.Columns>
684
                        </telerik:RadGridView>
685
                        </telerik:LayoutControlExpanderGroup>
686
                        <telerik:LayoutControlSplitter />
687
                        <telerik:LayoutControlExpanderGroup  IsExpandable="False" x:Name="historyPane" Header="Document History" telerik:StyleManager.Theme="Office2016">
688
                            <Grid>
689
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
690
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
691
                                <telerik:RadGridView.Columns>
692
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
693
                                        <telerik:GridViewDataColumn.CellTemplate>
694
                                            <DataTemplate>
695
                                                <telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
696
                                                </telerik:RadButton>
697
                                            </DataTemplate>
698
                                        </telerik:GridViewDataColumn.CellTemplate>
699
                                    </telerik:GridViewDataColumn>
700
                                    <telerik:GridViewDataColumn Header="Doc No"  IsReadOnly="True" Width="Auto">
701
                                        <telerik:GridViewDataColumn.CellTemplate>
702
                                            <DataTemplate>
703
                                                <TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/>
704
                                            </DataTemplate>
705
                                        </telerik:GridViewDataColumn.CellTemplate>
706
                                    </telerik:GridViewDataColumn>
707
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
708
                                        <telerik:GridViewDataColumn.CellTemplate>
709
                                            <DataTemplate>
710
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
711
                                            </DataTemplate>
712
                                        </telerik:GridViewDataColumn.CellTemplate>
713
                                    </telerik:GridViewDataColumn>
714
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
715
                                        <telerik:GridViewDataColumn.CellTemplate>
716
                                            <DataTemplate>
717
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
718
                                            </DataTemplate>
719
                                        </telerik:GridViewDataColumn.CellTemplate>
720
                                    </telerik:GridViewDataColumn>
721
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
722
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
723
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
724
                                                                        HeaderTextAlignment="Center">
725
                                        <telerik:GridViewDataColumn.CellTemplate>
726
                                            <DataTemplate>
727
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
728
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
729
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
730
                                            </DataTemplate>
731
                                        </telerik:GridViewDataColumn.CellTemplate>
732
                                    </telerik:GridViewDataColumn>
733

    
734
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
735
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
736
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
737
                                                                        HeaderTextAlignment="Center">
738
                                        <telerik:GridViewDataColumn.CellTemplate>
739
                                            <DataTemplate>
740
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
741
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
742
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
743
                                            </DataTemplate>
744
                                        </telerik:GridViewDataColumn.CellTemplate>
745
                                    </telerik:GridViewDataColumn>
746

    
747

    
748
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
749
                                    <telerik:GridViewDataColumn.CellTemplate>
750
                                        <DataTemplate>
751
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
752
                                                <
753
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
754
                                            </telerik:RadRibbonButton>                                            
755
                                        </DataTemplate>
756
                                    </telerik:GridViewDataColumn.CellTemplate>
757
                                </telerik:GridViewDataColumn>-->
758
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
759
                                    <telerik:GridViewDataColumn.CellTemplate>
760
                                        <DataTemplate>
761
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
762
                                        </DataTemplate>
763
                                    </telerik:GridViewDataColumn.CellTemplate>
764
                                </telerik:GridViewDataColumn>-->
765
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
766
                                        <telerik:GridViewDataColumn.CellTemplate>
767
                                            <DataTemplate>
768
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
769
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
770
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
771
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
772
                                                </Border>-->
773
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
774
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
775
                                                    <telerik:RadButton.Content>
776
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
777
                                                    </telerik:RadButton.Content>
778
                                                </telerik:RadButton>
779

    
780
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
781
                                            </DataTemplate>
782
                                        </telerik:GridViewDataColumn.CellTemplate>
783
                                    </telerik:GridViewDataColumn>
784
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
785
                                                                        DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
786
                                                                        Header="Attachments" telerik:StyleManager.Theme="Office2013"
787
                                                                        HeaderTextAlignment="Center">
788
                                        <telerik:GridViewDataColumn.CellTemplate>
789
                                            <DataTemplate>
790
                                                <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
791

    
792
                                                </telerik:RadButton>
793
                                            </DataTemplate>
794
                                        </telerik:GridViewDataColumn.CellTemplate>
795
                                    </telerik:GridViewDataColumn>
796
                                </telerik:RadGridView.Columns>
797
                            </telerik:RadGridView>
798
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
799
                                                  BusyContent="Sync Data Loading"/>
800
                        </Grid>
801
                        </telerik:LayoutControlExpanderGroup>
802
                    </telerik:RadLayoutControl>
803
                    </telerik:RadPane>
804
                    <telerik:RadPane Header="PEMSS(Requirement and Bidders)" CloseButtonVisibility="Collapsed" CanFloat="False">
805
                        <telerik:RadTabControl>
806
                            <telerik:RadTabControl.Items>
807
                                <telerik:RadTabItem Header="Requirement">
808
                                    <view:RequirementView/>
809
                                </telerik:RadTabItem>
810
                                <telerik:RadTabItem Header="Bidders">
811
                                    <view:BiddersView/>
812
                                </telerik:RadTabItem>
813
                            </telerik:RadTabControl.Items>
814
                        </telerik:RadTabControl>
815
                    </telerik:RadPane>
816
                </telerik:RadPaneGroup>
817
            </telerik:RadSplitContainer>
818
        </telerik:RadDocking>
819
    </Grid>
820
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)