markus / KCOM / Views / MainMenu.xaml @ 55bf7ac2
이력 | 보기 | 이력해설 | 다운로드 (80.5 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" |
3 |
xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" |
6 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
7 |
xmlns:converter="clr-namespace:KCOM.Common.Converter" |
8 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:common="clr-namespace:KCOM.Common" |
9 |
xmlns:controls="clr-namespace:KCOM.Controls" xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan" |
10 |
mc:Ignorable="d" |
11 |
d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger" |
12 |
xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF"> |
13 |
<UserControl.Resources>
|
14 |
<converter:ZeroToCollapsedConverter x:Key="ZeroToCollapsedConverter"/> |
15 |
<Style TargetType="{x:Type telerikGrid:GridViewHeaderCell}" x:Key="GridViewHeaderStyle"> |
16 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
17 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
18 |
<Setter Property="BorderThickness" Value="0"/> |
19 |
<Setter Property="Background"> |
20 |
<Setter.Value>
|
21 |
<SolidColorBrush Color="Black" Opacity="0.5"/> |
22 |
</Setter.Value>
|
23 |
</Setter>
|
24 |
<!--<Setter Property="Background" Value="Black"/>-->
|
25 |
<Setter Property="BorderBrush" Value="White"/> |
26 |
<Setter Property="Foreground" Value="White"/> |
27 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013"/> |
28 |
<!--<Setter Property="FontWeight" Value="Black"/>-->
|
29 |
</Style>
|
30 |
<Style x:Key="GridViewAlign" TargetType="{x:Type telerikGrid:GridViewCell}"> |
31 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
32 |
<Setter Property="TextBlock.TextDecorations"> |
33 |
<Setter.Value>
|
34 |
<TextDecorationCollection>
|
35 |
<TextDecoration Location="Underline" /> |
36 |
<TextDecoration Location="Overline" /> |
37 |
<TextDecoration
|
38 |
PenThicknessUnit="FontRecommended"> |
39 |
<TextDecoration.Pen>
|
40 |
<Pen Thickness="1.0"> |
41 |
<Pen.Brush>
|
42 |
<LinearGradientBrush Opacity="0.5" |
43 |
StartPoint="0,0.5" EndPoint="1,0.5"> |
44 |
<GradientStop Color="Yellow" Offset="0" /> |
45 |
<GradientStop Color="Red" Offset="1" /> |
46 |
</LinearGradientBrush>
|
47 |
</Pen.Brush>
|
48 |
</Pen>
|
49 |
</TextDecoration.Pen>
|
50 |
</TextDecoration>
|
51 |
</TextDecorationCollection>
|
52 |
</Setter.Value>
|
53 |
</Setter>
|
54 |
</Style>
|
55 |
<converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/> |
56 |
<converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" /> |
57 |
<converter:StringToColorConverter x:Key="StringToColorConverter"/> |
58 |
<converter:AvoidStringConverter x:Key="AvoidStringConverter" /> |
59 |
<converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" /> |
60 |
<converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" /> |
61 |
<converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" /> |
62 |
<converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/> |
63 |
</UserControl.Resources>
|
64 |
<Grid Background="{DynamicResource KCOMColor_MainBrush}"> |
65 |
<!--<Grid.ColumnDefinitions>
|
66 |
<ColumnDefinition Width="Auto"/>
|
67 |
<ColumnDefinition Width="*"/>
|
68 |
</Grid.ColumnDefinitions>-->
|
69 |
<!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
|
70 |
-->
|
71 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
|
72 |
<!--
|
73 |
<telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
|
74 |
<telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
|
75 |
<telerik:LayoutControlTabGroupItem Header="Thumbnail">
|
76 |
<telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">
|
77 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>
|
78 |
</telerik:LayoutControlGroup>
|
79 |
</telerik:LayoutControlTabGroupItem>
|
80 |
<telerik:LayoutControlTabGroupItem Header="Bookmark">
|
81 |
<telerik:LayoutControlGroup BorderBrush="Transparent">
|
82 |
<Border Background="Blue"/>
|
83 |
</telerik:LayoutControlGroup>
|
84 |
</telerik:LayoutControlTabGroupItem>
|
85 |
</telerik:LayoutControlTabGroup>
|
86 |
</telerik:RadLayoutControl>
|
87 |
</Border>-->
|
88 |
<!--<Grid.ColumnDefinitions>
|
89 |
<ColumnDefinition Width="Auto"/>
|
90 |
<ColumnDefinition Width="*"/>
|
91 |
<ColumnDefinition Width="Auto"/>
|
92 |
</Grid.ColumnDefinitions>-->
|
93 |
<!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
|
94 |
<Border Background="White" Margin="50"/>
|
95 |
</Border>-->
|
96 |
<telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1"> |
97 |
<telerik:RadDocking.DocumentHost>
|
98 |
<telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0"> |
99 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
100 |
<telerik:RadDocumentPane x:Name="MainDocumentPanel" Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0"> |
101 |
<telerik:RadDocumentPane.HeaderTemplate>
|
102 |
<DataTemplate>
|
103 |
<Border Margin="0,0,0,0"/> |
104 |
</DataTemplate>
|
105 |
</telerik:RadDocumentPane.HeaderTemplate>
|
106 |
<!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
|
107 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
108 |
<Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/> |
109 |
<Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}"> |
110 |
<TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/> |
111 |
</Popup>
|
112 |
<ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl" |
113 |
MouseWheel="zoomAndPanControl_MouseWheel" |
114 |
MouseDown="zoomAndPanControl_MouseDown" |
115 |
MouseMove="zoomAndPanControl_MouseMove" |
116 |
MouseUp="zoomAndPanControl_MouseUp" |
117 |
MouseLeave="zoomAndPanControl_MouseLeave" |
118 |
ScaleChanged="ZoomAndPanControl_ScaleChanged" |
119 |
MouseDoubleClick="zoomAndPanControl_MouseDoubleClick" |
120 |
ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
121 |
ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
122 |
ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
123 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
124 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
125 |
Background="LightGray"> |
126 |
<Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White"> |
127 |
|
128 |
<Canvas x:Name="drawingRotateCanvas" |
129 |
Panel.ZIndex="1" |
130 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
131 |
<Canvas.RenderTransform>
|
132 |
<TransformGroup>
|
133 |
<RotateTransform x:Name="rotate" Angle="0"/> |
134 |
<TranslateTransform x:Name="translate" X="0" Y="0"/> |
135 |
</TransformGroup>
|
136 |
</Canvas.RenderTransform>
|
137 |
|
138 |
<ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}" |
139 |
Panel.ZIndex="1"> |
140 |
<ItemsControl.ItemsPanel>
|
141 |
<ItemsPanelTemplate>
|
142 |
<Canvas /> |
143 |
</ItemsPanelTemplate>
|
144 |
</ItemsControl.ItemsPanel>
|
145 |
</ItemsControl>
|
146 |
<ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}" |
147 |
Panel.ZIndex="30"> |
148 |
<ItemsControl.ItemsPanel>
|
149 |
<ItemsPanelTemplate>
|
150 |
<Canvas /> |
151 |
</ItemsPanelTemplate>
|
152 |
</ItemsControl.ItemsPanel>
|
153 |
</ItemsControl>
|
154 |
<InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/> |
155 |
<InkCanvas x:Name="inkDrawingCanvas" |
156 |
Background="Transparent" |
157 |
IsEnabled="False" |
158 |
Panel.ZIndex="1" |
159 |
Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1"> |
160 |
<!--<Rectangle Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
161 |
<!--<Ellipse Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
162 |
|
163 |
<!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
|
164 |
</InkCanvas>
|
165 |
<!--강인구 추가-->
|
166 |
<!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
|
167 |
Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
168 |
Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
169 |
Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
|
170 |
</controls:ScaleDecodeImage>-->
|
171 |
<Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality" |
172 |
RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled" |
173 |
Source="{Binding ImageViewPath,Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" |
174 |
Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
175 |
Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
176 |
>
|
177 |
</Image>
|
178 |
<Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/> |
179 |
<Border x:Name="dragSelectionBorder" Visibility="Collapsed" |
180 |
BorderBrush="Blue" |
181 |
BorderThickness="1" |
182 |
Background="LightBlue" |
183 |
CornerRadius="1" |
184 |
Panel.ZIndex="1" |
185 |
Opacity="0.5"/> |
186 |
<Border x:Name="dragCaptureBorder" Visibility="Collapsed" |
187 |
BorderBrush="Blue" |
188 |
BorderThickness="1" |
189 |
Background="Blue" |
190 |
CornerRadius="1" |
191 |
Panel.ZIndex="1" |
192 |
Opacity="0.5"/> |
193 |
|
194 |
<Border x:Name="dragZoomBorder" Visibility="Collapsed" |
195 |
BorderThickness="3" |
196 |
Background="Transparent" |
197 |
CornerRadius="1" |
198 |
Panel.ZIndex="1" |
199 |
Opacity="1"> |
200 |
<Border.BorderBrush>
|
201 |
<VisualBrush>
|
202 |
<VisualBrush.Visual>
|
203 |
<Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1" |
204 |
Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}" |
205 |
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/> |
206 |
</VisualBrush.Visual>
|
207 |
</VisualBrush>
|
208 |
</Border.BorderBrush>
|
209 |
</Border>
|
210 |
<!--<Border x:Name="dragZoomBorder"
|
211 |
BorderBrush="Black"
|
212 |
BorderThickness="1"
|
213 |
|
214 |
Background="Transparent"
|
215 |
CornerRadius="1"
|
216 |
Panel.ZIndex="1"
|
217 |
Opacity="0.5"/>-->
|
218 |
<Canvas x:Name="SearchFocusBorder" Visibility="Collapsed" |
219 |
Background="#50FF5D00" |
220 |
Panel.ZIndex="99999" IsHitTestVisible="False"> |
221 |
<Border Visibility="Collapsed" |
222 |
BorderThickness="1" |
223 |
Background="#50FF5D00" |
224 |
CornerRadius="1" |
225 |
Panel.ZIndex="99999" IsHitTestVisible="False" |
226 |
Width="{Binding Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}" |
227 |
Height="{Binding Height, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}"></Border> |
228 |
</Canvas>
|
229 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
|
230 |
</Canvas>
|
231 |
|
232 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
|
233 |
|
234 |
<!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
|
235 |
</Canvas>
|
236 |
</ZoomAndPan:ZoomAndPanControl>
|
237 |
<telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving..." Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}"/> |
238 |
<!--캡쳐 화면을 위한 보더-->
|
239 |
<Border Background="LightGray" |
240 |
Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}" |
241 |
IsHitTestVisible="False" > |
242 |
<TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/> |
243 |
</Border>
|
244 |
<Angle:AngleControl x:Name="MainAngle" |
245 |
Grid.Column="1" |
246 |
Grid.ColumnSpan="2" |
247 |
Margin="10" |
248 |
AngleValue="{Binding Angle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}" |
249 |
HorizontalAlignment="Right" |
250 |
VerticalAlignment="Top" |
251 |
IsHitTestVisible="False" |
252 |
Visibility="{Binding AngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" /> |
253 |
</Grid>
|
254 |
</telerik:RadDocumentPane>
|
255 |
</telerik:RadPaneGroup>
|
256 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" > |
257 |
<telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" > |
258 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
259 |
<ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" AllowDrop="True" |
260 |
MouseWheel="zoomAndPanControl2_MouseWheel" |
261 |
MouseMove="zoomAndPanControl2_MouseMove" |
262 |
MouseDown="zoomAndPanControl2_MouseDown" |
263 |
MouseUp="zoomAndPanControl2_MouseUp" |
264 |
MouseLeave="zoomAndPanControl_MouseLeave" |
265 |
ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
266 |
ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
267 |
ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
268 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
269 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
270 |
Background="LightGray"> |
271 |
<Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White"> |
272 |
<Canvas x:Name="drawingRotateCanvas2" |
273 |
Panel.ZIndex="1" |
274 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
275 |
<Canvas.RenderTransform>
|
276 |
<TransformGroup>
|
277 |
<RotateTransform x:Name="rotate2" Angle="0"/> |
278 |
<TranslateTransform x:Name="translate2" X="0" Y="0"/> |
279 |
</TransformGroup>
|
280 |
</Canvas.RenderTransform>
|
281 |
<ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}" |
282 |
Panel.ZIndex="1"> |
283 |
<ItemsControl.ItemsPanel>
|
284 |
<ItemsPanelTemplate>
|
285 |
<Canvas > |
286 |
|
287 |
</Canvas>
|
288 |
</ItemsPanelTemplate>
|
289 |
</ItemsControl.ItemsPanel>
|
290 |
</ItemsControl>
|
291 |
<Image x:Name="ComparePanel" |
292 |
Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" |
293 |
Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" |
294 |
Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" > |
295 |
</Image>
|
296 |
<Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1"> |
297 |
<!--<Canvas.RenderTransform>
|
298 |
-->
|
299 |
<!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
|
300 |
<!--
|
301 |
<RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
|
302 |
</Canvas.RenderTransform>-->
|
303 |
</Canvas>
|
304 |
<!--강인구 추가-->
|
305 |
</Canvas>
|
306 |
</Canvas>
|
307 |
</ZoomAndPan:ZoomAndPanControl>
|
308 |
<Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/> |
309 |
|
310 |
<!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
|
311 |
<TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
|
312 |
Foreground="White" Opacity="0.5" FontWeight="Bold">
|
313 |
<TextBlock.RenderTransform>
|
314 |
<RotateTransform Angle="-25"/>
|
315 |
</TextBlock.RenderTransform>
|
316 |
</TextBlock>
|
317 |
</Viewbox>-->
|
318 |
|
319 |
<!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
|
320 |
ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
|
321 |
<Grid Height="Auto" VerticalAlignment="Top" > |
322 |
<Grid.RowDefinitions>
|
323 |
<RowDefinition/> |
324 |
<RowDefinition/> |
325 |
</Grid.RowDefinitions>
|
326 |
<!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
|
327 |
<Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/> |
328 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left"> |
329 |
<!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
|
330 |
<TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/> |
331 |
<TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center" x:Name="tlSyncPageNum"/> |
332 |
</StackPanel>
|
333 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
334 |
<!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare" Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
|
335 |
Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
|
336 |
<!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white" Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
|
337 |
|
338 |
<toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25" |
339 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
340 |
Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
341 |
|
342 |
<toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25" |
343 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
344 |
Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
345 |
|
346 |
<toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25" |
347 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
348 |
Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
349 |
|
350 |
<toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25" |
351 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" Visibility="Collapsed" |
352 |
Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
353 |
|
354 |
<toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25" |
355 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
356 |
Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
357 |
|
358 |
|
359 |
<!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White" Margin="5" Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
360 |
<!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White" Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
361 |
<telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
362 |
<Image Height="20" |
363 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" |
364 |
Stretch="Uniform" /> |
365 |
</telerik:RadRibbonButton>
|
366 |
<telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
367 |
<Image Height="20" |
368 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5" |
369 |
Stretch="Uniform"> |
370 |
<Image.RenderTransform>
|
371 |
<RotateTransform Angle="180"/> |
372 |
</Image.RenderTransform>
|
373 |
</Image>
|
374 |
</telerik:RadRibbonButton>
|
375 |
<telerik:RadRibbonButton Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
376 |
<Image Height="20" |
377 |
Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png" |
378 |
Stretch="Uniform" /> |
379 |
</telerik:RadRibbonButton>
|
380 |
</StackPanel>
|
381 |
<telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False" x:Name="gridViewRevMarkup" |
382 |
AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0" |
383 |
CanUserFreezeColumns ="False" Visibility="Collapsed" GridLinesVisibility="None" |
384 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1"> |
385 |
<telerik:RadGridView.HeaderRowStyle>
|
386 |
<Style TargetType="telerik:GridViewHeaderRow"> |
387 |
<Setter Property="BorderThickness" Value="0"/> |
388 |
<Setter Property="Background" Value="Red"/> |
389 |
<Setter Property="Foreground" Value="White"/> |
390 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
391 |
<Setter Property="FontWeight" Value="Black"/> |
392 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013"/> |
393 |
</Style>
|
394 |
</telerik:RadGridView.HeaderRowStyle>
|
395 |
<telerik:RadGridView.RowStyle>
|
396 |
<Style TargetType="telerik:GridViewRow"> |
397 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
398 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
399 |
<Setter Property="Foreground" Value="White"/> |
400 |
</Style>
|
401 |
</telerik:RadGridView.RowStyle>
|
402 |
<telerik:RadGridView.Columns>
|
403 |
<telerik:GridViewSelectColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
404 |
<telerik:GridViewSelectColumn.Header>
|
405 |
<telerik:RadRibbonToggleButton telerik:StyleManager.Theme="Office2016" |
406 |
Visibility="Collapsed" Width="Auto"> |
407 |
<telerik:RadRibbonToggleButton.Content>
|
408 |
<Image HorizontalAlignment="Center" |
409 |
VerticalAlignment="Center" |
410 |
Source="/KCOM;component/Resources/Images/MenuImage/check.png" /> |
411 |
</telerik:RadRibbonToggleButton.Content>
|
412 |
</telerik:RadRibbonToggleButton>
|
413 |
</telerik:GridViewSelectColumn.Header>
|
414 |
</telerik:GridViewSelectColumn>
|
415 |
<telerik:GridViewDataColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
416 |
Header="Color" |
417 |
IsReadOnly="True"> |
418 |
<telerik:GridViewDataColumn.CellTemplate>
|
419 |
<DataTemplate>
|
420 |
<Grid>
|
421 |
<Grid>
|
422 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
423 |
<TextBlock Foreground="#00000000" Text="Color" /> |
424 |
</Grid>
|
425 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
426 |
<Image Height="15" |
427 |
Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png" |
428 |
Stretch="Uniform" /> |
429 |
</Grid>
|
430 |
</Grid>
|
431 |
|
432 |
</DataTemplate>
|
433 |
</telerik:GridViewDataColumn.CellTemplate>
|
434 |
</telerik:GridViewDataColumn>
|
435 |
<telerik:GridViewDataColumn Header="DEPT" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
436 |
<telerik:GridViewDataColumn.CellTemplate>
|
437 |
<DataTemplate>
|
438 |
<TextBlock Text="{Binding Depatment}" FontSize="12"/> |
439 |
</DataTemplate>
|
440 |
</telerik:GridViewDataColumn.CellTemplate>
|
441 |
</telerik:GridViewDataColumn>
|
442 |
<telerik:GridViewDataColumn Header="NAME" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
443 |
<telerik:GridViewDataColumn.CellTemplate>
|
444 |
<DataTemplate>
|
445 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/> |
446 |
</DataTemplate>
|
447 |
</telerik:GridViewDataColumn.CellTemplate>
|
448 |
</telerik:GridViewDataColumn>
|
449 |
<telerik:GridViewDataColumn Header="CONSOLIDATION" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
450 |
<telerik:GridViewDataColumn.CellTemplate>
|
451 |
<DataTemplate>
|
452 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
453 |
<Grid>
|
454 |
<Grid.ColumnDefinitions>
|
455 |
<ColumnDefinition Width="Auto" /> |
456 |
<ColumnDefinition Width="Auto" /> |
457 |
<ColumnDefinition Width="Auto" /> |
458 |
</Grid.ColumnDefinitions>
|
459 |
|
460 |
<TextBlock Grid.Column="0" |
461 |
Foreground="Red" |
462 |
Text="{Binding AvoidConsolidate, |
463 |
Converter={StaticResource AvoidStringConverter}}" /> |
464 |
<TextBlock Grid.Column="1" |
465 |
Foreground="Blue" |
466 |
Text="{Binding PartConsolidate, |
467 |
Converter={StaticResource TeamConsoliStringConverter}}" /> |
468 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
469 |
<!--
|
470 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
471 |
<TextBlock.Text>
|
472 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
473 |
</TextBlock.Text>
|
474 |
</TextBlock>
|
475 |
-->
|
476 |
</Grid>
|
477 |
</DataTemplate>
|
478 |
</telerik:GridViewDataColumn.CellTemplate>
|
479 |
</telerik:GridViewDataColumn>
|
480 |
|
481 |
<telerik:GridViewDataColumn Header="Comment Move" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
482 |
<telerik:GridViewDataColumn.CellTemplate>
|
483 |
<DataTemplate>
|
484 |
<telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" /> |
485 |
<!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
|
486 |
</DataTemplate>
|
487 |
</telerik:GridViewDataColumn.CellTemplate>
|
488 |
</telerik:GridViewDataColumn>
|
489 |
|
490 |
<telerik:GridViewDataColumn Header="" IsReadOnly="True" Width="*" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
491 |
</telerik:GridViewDataColumn>
|
492 |
</telerik:RadGridView.Columns>
|
493 |
</telerik:RadGridView>
|
494 |
</Grid>
|
495 |
<!--</telerik:RadExpander>-->
|
496 |
|
497 |
|
498 |
</Grid>
|
499 |
</telerik:RadPane>
|
500 |
</telerik:RadPaneGroup>
|
501 |
</telerik:RadSplitContainer>
|
502 |
</telerik:RadDocking.DocumentHost>
|
503 |
|
504 |
|
505 |
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged"> |
506 |
<!-- Width="250" MinWidth="250" -->
|
507 |
<!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
|
508 |
<telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi"> |
509 |
<telerik:RadPane Header="DOCUMENT" x:Name="radPanelPageNavi" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True" |
510 |
ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016"> |
511 |
<!--<telerik:RadPane.TitleTemplate>
|
512 |
<DataTemplate>
|
513 |
<Grid>
|
514 |
<Grid.ColumnDefinitions>
|
515 |
<ColumnDefinition Width="Auto" />
|
516 |
<ColumnDefinition />
|
517 |
</Grid.ColumnDefinitions>
|
518 |
<ContentPresenter Content="{Binding}"
|
519 |
Margin="0,0,75,0" />
|
520 |
<telerik:RadButton Grid.Column="1" Content="PIN"/>
|
521 |
</Grid>
|
522 |
</DataTemplate>
|
523 |
</telerik:RadPane.TitleTemplate>-->
|
524 |
<!--<Grid VerticalAlignment="Stretch" Margin="0">
|
525 |
<Grid.RowDefinitions>
|
526 |
<RowDefinition Height="30"/>
|
527 |
<RowDefinition Height="*"/>
|
528 |
</Grid.RowDefinitions>
|
529 |
<Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
|
530 |
<TextBlock Text="Thumbnail" Margin="5"/>
|
531 |
</Border>
|
532 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
|
533 |
</Grid>-->
|
534 |
<Grid>
|
535 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
|
536 |
<!--<Grid.RowDefinitions>
|
537 |
<RowDefinition Height="Auto"/>
|
538 |
<RowDefinition Height="*"/>
|
539 |
</Grid.RowDefinitions>-->
|
540 |
<!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8" Background="#FF0054B9" Foreground="White"
|
541 |
BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
|
542 |
<controls:Sample x:Name="pageNavigator"/> |
543 |
</Grid>
|
544 |
|
545 |
</telerik:RadPane>
|
546 |
<!--<telerik:RadPane Header="test" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
|
547 |
ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
|
548 |
|
549 |
<Grid xmlns:drag="clr-namespace:Telerik.Windows.DragDrop.Behaviors;assembly=Telerik.Windows.Controls" >
|
550 |
<Grid.Resources>
|
551 |
<Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
|
552 |
<Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
|
553 |
</Style>
|
554 |
</Grid.Resources>
|
555 |
<telerik:RadListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal" AllowDrop="True">
|
556 |
<telerik:RadListBox.DragDropBehavior>
|
557 |
<telerik:ListBoxDragDropBehavior AllowReorder="True" />
|
558 |
</telerik:RadListBox.DragDropBehavior>
|
559 |
<telerik:RadListBox.DragVisualProvider >
|
560 |
<telerik:ListBoxDragVisualProvider />
|
561 |
</telerik:RadListBox.DragVisualProvider>
|
562 |
</telerik:RadListBox>
|
563 |
</Grid>
|
564 |
|
565 |
</telerik:RadPane>-->
|
566 |
|
567 |
</telerik:RadPaneGroup>
|
568 |
</telerik:RadSplitContainer>
|
569 |
|
570 |
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300"> |
571 |
<telerik:RadPaneGroup IsTabStop="False" telerik:StyleManager.Theme="Office2016"> |
572 |
<telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane"> |
573 |
<controls:SearchPanel x:Name="searchPanel_Instance"/> |
574 |
</telerik:RadPane>
|
575 |
</telerik:RadPaneGroup>
|
576 |
<telerik:RadPaneGroup IsTabStop="False" telerik:StyleManager.Theme="Office2016"> |
577 |
<telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="talkPane"> |
578 |
<messanger:ConversationView/> |
579 |
</telerik:RadPane>
|
580 |
</telerik:RadPaneGroup>
|
581 |
<telerik:RadPaneGroup IsTabStop="False" Visibility="Visible" telerik:StyleManager.Theme="Office2016"> |
582 |
<telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="SymbolPane"> |
583 |
<!--<controls:Symbol />-->
|
584 |
<controls:Symbol x:Name="symbolPanel_Instance"/> |
585 |
<!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
|
586 |
</telerik:RadPane>
|
587 |
</telerik:RadPaneGroup>
|
588 |
<telerik:RadPaneGroup IsTabStop="False" telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100"> |
589 |
<telerik:RadPane Header="FAVORITE" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="FavoritePane"> |
590 |
<controls:FavoritePanel/> |
591 |
</telerik:RadPane>
|
592 |
</telerik:RadPaneGroup>
|
593 |
</telerik:RadSplitContainer>
|
594 |
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom"> |
595 |
<telerik:RadPaneGroup IsTabStop="False" telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100" AllowDrop="False"> |
596 |
<telerik:RadPane Header="User information List" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016" x:Name="infoListPane"> |
597 |
<telerik:RadPane.TitleTemplate>
|
598 |
<DataTemplate>
|
599 |
<Grid>
|
600 |
<Grid.ColumnDefinitions>
|
601 |
<ColumnDefinition Width="*" /> |
602 |
<ColumnDefinition Width="Auto" /> |
603 |
</Grid.ColumnDefinitions>
|
604 |
|
605 |
<StackPanel Orientation="Horizontal"> |
606 |
<TextBlock Margin="1" |
607 |
VerticalAlignment="Center" |
608 |
Text="{Binding}" /> |
609 |
<telerik:RadRibbonButton x:Name="btnConsolidate" |
610 |
VerticalAlignment="Center" |
611 |
Click="btnConsolidate_Click" |
612 |
Loaded="btnConsolidate_Loaded" |
613 |
telerik:StyleManager.Theme="Office2016" |
614 |
ToolTipService.ToolTip="Consolidate"> |
615 |
<Border Background="#E9F0F8" |
616 |
BorderBrush="#839AB3" |
617 |
BorderThickness="1"> |
618 |
<StackPanel Margin="1" Orientation="Horizontal"> |
619 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
|
620 |
<TextBlock Margin="1" |
621 |
VerticalAlignment="Center" |
622 |
Foreground="Black" |
623 |
Text="Consolidate" /> |
624 |
</StackPanel>
|
625 |
</Border>
|
626 |
</telerik:RadRibbonButton>
|
627 |
<telerik:RadRibbonButton x:Name="btnTeamConsolidate" |
628 |
VerticalAlignment="Center" |
629 |
Click="btnTeamConsolidate_Click" |
630 |
Loaded="btnTeamConsolidate_Loaded" |
631 |
telerik:StyleManager.Theme="Office2016" |
632 |
ToolTipService.ToolTip="Consolidate"> |
633 |
<Border Background="#E9F0F8" |
634 |
BorderBrush="#839AB3" |
635 |
BorderThickness="1"> |
636 |
<StackPanel Margin="1" Orientation="Horizontal"> |
637 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
|
638 |
<TextBlock Margin="1" |
639 |
VerticalAlignment="Center" |
640 |
Foreground="Black" |
641 |
Text="Team Consolidate" /> |
642 |
</StackPanel>
|
643 |
</Border>
|
644 |
</telerik:RadRibbonButton>
|
645 |
<telerik:RadRibbonButton x:Name="btnFinalPDF" |
646 |
VerticalAlignment="Center" |
647 |
Click="FinalPDFEvent" |
648 |
Loaded="btnFinalPDF_Loaded" |
649 |
telerik:StyleManager.Theme="Office2016" |
650 |
ToolTipService.ToolTip="FinalPDF"> |
651 |
<Border Background="#E9F0F8" |
652 |
BorderBrush="#839AB3" |
653 |
BorderThickness="1"> |
654 |
<StackPanel Margin="1" Orientation="Horizontal"> |
655 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
656 |
<TextBlock Margin="1" |
657 |
VerticalAlignment="Center" |
658 |
Foreground="Black" |
659 |
Text="Merged PDF" /> |
660 |
</StackPanel>
|
661 |
</Border>
|
662 |
</telerik:RadRibbonButton>
|
663 |
<telerik:RadRibbonButton x:Name="btnConsolidateFinalPDF" |
664 |
VerticalAlignment="Center" |
665 |
Click="ConsolidateFinalPDFEvent" |
666 |
Loaded="btnConsolidateFinalPDF_Loaded" |
667 |
telerik:StyleManager.Theme="Office2016" |
668 |
ToolTipService.ToolTip="Consolidate & FinalPDF"> |
669 |
<Border Background="#E9F0F8" |
670 |
BorderBrush="#839AB3" |
671 |
BorderThickness="1"> |
672 |
<StackPanel Margin="1" Orientation="Horizontal"> |
673 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
674 |
<TextBlock Margin="1" |
675 |
VerticalAlignment="Center" |
676 |
Foreground="Black" |
677 |
Text="Consolidate & Merged PDF" /> |
678 |
</StackPanel>
|
679 |
</Border>
|
680 |
</telerik:RadRibbonButton>
|
681 |
</StackPanel>
|
682 |
<!--<StackPanel Grid.Column="1"
|
683 |
HorizontalAlignment="Right"
|
684 |
Orientation="Horizontal">
|
685 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
686 |
Click="ExpandButtonEvent_Click"
|
687 |
Tag="CLOSE"
|
688 |
telerik:StyleManager.Theme="Windows8"
|
689 |
ToolTipService.ToolTip="Expand On">
|
690 |
</telerik:RadRibbonButton>
|
691 |
|
692 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
693 |
Click="ExpandButtonEvent_Click"
|
694 |
Tag="OPEN"
|
695 |
telerik:StyleManager.Theme="Windows8"
|
696 |
ToolTipService.ToolTip="Expand Off">
|
697 |
<Image Width="15"
|
698 |
RenderTransformOrigin="0.5,0.5">
|
699 |
<Image.RenderTransform>
|
700 |
<RotateTransform Angle="180" />
|
701 |
</Image.RenderTransform>
|
702 |
</Image>
|
703 |
</telerik:RadRibbonButton>
|
704 |
</StackPanel>-->
|
705 |
</Grid>
|
706 |
</DataTemplate>
|
707 |
</telerik:RadPane.TitleTemplate>
|
708 |
<telerik:RadGridView IsReadOnly="True" telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True" x:Name="gridViewMarkup" |
709 |
AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple" |
710 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" |
711 |
Sorting="GridViewMarkup_Sorting" Sorted="GridViewMarkup_Sorted" |
712 |
CanUserSortColumns ="True" > |
713 |
<!--<telerik:RadGridView.GroupDescriptors>
|
714 |
<telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
|
715 |
<telerik:GroupDescriptor.AggregateFunctions>
|
716 |
<telerik:CountFunction Caption="Entries count : " />
|
717 |
</telerik:GroupDescriptor.AggregateFunctions>
|
718 |
</telerik:GroupDescriptor>
|
719 |
</telerik:RadGridView.GroupDescriptors>-->
|
720 |
<telerik:RadGridView.RowStyle>
|
721 |
<Style TargetType="telerik:GridViewRow"> |
722 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
723 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
724 |
<Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/> |
725 |
<!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
|
726 |
</Style>
|
727 |
</telerik:RadGridView.RowStyle>
|
728 |
<telerik:RadGridView.Columns>
|
729 |
<telerik:GridViewSelectColumn Width="Auto"> |
730 |
<telerik:GridViewSelectColumn.Header>
|
731 |
<CheckBox telerik:StyleManager.Theme="Office_Black" Click="gridViewMarkupAllSelect_Click"/> |
732 |
</telerik:GridViewSelectColumn.Header>
|
733 |
</telerik:GridViewSelectColumn>
|
734 |
<telerik:GridViewDataColumn Width="Auto" |
735 |
Header="Color" |
736 |
IsReadOnly="True"> |
737 |
<telerik:GridViewDataColumn.CellTemplate>
|
738 |
<DataTemplate>
|
739 |
<Grid>
|
740 |
<Grid>
|
741 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
742 |
<TextBlock Foreground="#00000000" Text="Color" /> |
743 |
</Grid>
|
744 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
745 |
<Image Height="15" |
746 |
Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png" |
747 |
Stretch="Uniform" /> |
748 |
</Grid>
|
749 |
</Grid>
|
750 |
|
751 |
</DataTemplate>
|
752 |
</telerik:GridViewDataColumn.CellTemplate>
|
753 |
</telerik:GridViewDataColumn>
|
754 |
<telerik:GridViewDataColumn Header="DEPT" IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding Depatment}" > |
755 |
<telerik:GridViewDataColumn.CellTemplate>
|
756 |
<DataTemplate>
|
757 |
<TextBlock Text="{Binding Depatment}"/> |
758 |
</DataTemplate>
|
759 |
</telerik:GridViewDataColumn.CellTemplate>
|
760 |
</telerik:GridViewDataColumn>
|
761 |
<telerik:GridViewDataColumn Header="NAME" IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}"> |
762 |
<telerik:GridViewDataColumn.CellTemplate>
|
763 |
<DataTemplate>
|
764 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}"/> |
765 |
</DataTemplate>
|
766 |
</telerik:GridViewDataColumn.CellTemplate>
|
767 |
</telerik:GridViewDataColumn>
|
768 |
<telerik:GridViewDataColumn Header="UPDATETIME" IsReadOnly="True" Width="Auto"> |
769 |
<telerik:GridViewDataColumn.CellTemplate>
|
770 |
<DataTemplate>
|
771 |
<TextBlock Text="{Binding UpdateTime}"/> |
772 |
</DataTemplate>
|
773 |
</telerik:GridViewDataColumn.CellTemplate>
|
774 |
</telerik:GridViewDataColumn>
|
775 |
<telerik:GridViewDataColumn Header="CONSOLIDATION" IsReadOnly="True" Width="Auto"> |
776 |
<telerik:GridViewDataColumn.CellTemplate>
|
777 |
<DataTemplate>
|
778 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
779 |
<Grid>
|
780 |
<Grid.ColumnDefinitions>
|
781 |
<ColumnDefinition Width="Auto" /> |
782 |
<ColumnDefinition Width="Auto" /> |
783 |
<ColumnDefinition Width="Auto" /> |
784 |
</Grid.ColumnDefinitions>
|
785 |
|
786 |
<TextBlock Grid.Column="0" |
787 |
Foreground="Red" |
788 |
Text="{Binding AvoidConsolidate, |
789 |
Converter={StaticResource AvoidStringConverter}}" /> |
790 |
<TextBlock Grid.Column="1" |
791 |
Foreground="Blue" |
792 |
Text="{Binding PartConsolidate, |
793 |
Converter={StaticResource TeamConsoliStringConverter}}" /> |
794 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
795 |
<!--
|
796 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
797 |
<TextBlock.Text>
|
798 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
799 |
</TextBlock.Text>
|
800 |
</TextBlock>
|
801 |
-->
|
802 |
</Grid>
|
803 |
</DataTemplate>
|
804 |
</telerik:GridViewDataColumn.CellTemplate>
|
805 |
</telerik:GridViewDataColumn>
|
806 |
|
807 |
<telerik:GridViewDataColumn Header="DELETE" IsReadOnly="True" Width="Auto"> |
808 |
<telerik:GridViewDataColumn.CellTemplate>
|
809 |
<DataTemplate>
|
810 |
<Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/> |
811 |
</DataTemplate>
|
812 |
</telerik:GridViewDataColumn.CellTemplate>
|
813 |
</telerik:GridViewDataColumn>
|
814 |
</telerik:RadGridView.Columns>
|
815 |
</telerik:RadGridView>
|
816 |
</telerik:RadPane>
|
817 |
</telerik:RadPaneGroup>
|
818 |
<telerik:RadPaneGroup IsTabStop="False" telerik:StyleManager.Theme="Office2016" |
819 |
telerik:ProportionalStackPanel.RelativeSize="100, 100"> |
820 |
<telerik:RadPane Header="Document History" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016" x:Name="historyPane" |
821 |
Visibility="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance},Mode=TwoWay, Converter={StaticResource BoolToVisibleConverter}}"> |
822 |
<Grid>
|
823 |
<telerik:RadGridView IsReadOnly="True" telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False" x:Name="gridViewHistory" |
824 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False"> |
825 |
<telerik:RadGridView.Columns>
|
826 |
<telerik:GridViewDataColumn Header="Slip No" IsReadOnly="True" Width="Auto" IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance},Mode=TwoWay}"> |
827 |
<telerik:GridViewDataColumn.CellTemplate>
|
828 |
<DataTemplate>
|
829 |
<telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent"> |
830 |
</telerik:RadButton>
|
831 |
</DataTemplate>
|
832 |
</telerik:GridViewDataColumn.CellTemplate>
|
833 |
</telerik:GridViewDataColumn>
|
834 |
<telerik:GridViewDataColumn Header="Doc No" IsReadOnly="True" Width="Auto"> |
835 |
<telerik:GridViewDataColumn.CellTemplate>
|
836 |
<DataTemplate>
|
837 |
<TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/> |
838 |
</DataTemplate>
|
839 |
</telerik:GridViewDataColumn.CellTemplate>
|
840 |
</telerik:GridViewDataColumn>
|
841 |
<telerik:GridViewDataColumn Header="Rev No" IsReadOnly="True" Width="Auto"> |
842 |
<telerik:GridViewDataColumn.CellTemplate>
|
843 |
<DataTemplate>
|
844 |
<TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/> |
845 |
</DataTemplate>
|
846 |
</telerik:GridViewDataColumn.CellTemplate>
|
847 |
</telerik:GridViewDataColumn>
|
848 |
<telerik:GridViewDataColumn Header="RESULT" IsReadOnly="True" Width="Auto" IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance},Mode=TwoWay}"> |
849 |
<telerik:GridViewDataColumn.CellTemplate>
|
850 |
<DataTemplate>
|
851 |
<TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/> |
852 |
</DataTemplate>
|
853 |
</telerik:GridViewDataColumn.CellTemplate>
|
854 |
</telerik:GridViewDataColumn>
|
855 |
<telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}" IsReadOnly="True" IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance},Mode=TwoWay}" |
856 |
DataMemberBinding="{Binding FROM_VENDOR}" |
857 |
Header="File(in)" telerik:StyleManager.Theme="Office2013" |
858 |
HeaderTextAlignment="Center"> |
859 |
<telerik:GridViewDataColumn.CellTemplate>
|
860 |
<DataTemplate>
|
861 |
<Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
862 |
MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}" |
863 |
Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/> |
864 |
</DataTemplate>
|
865 |
</telerik:GridViewDataColumn.CellTemplate>
|
866 |
</telerik:GridViewDataColumn>
|
867 |
<telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}" IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance},Mode=TwoWay}" |
868 |
DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True" |
869 |
Header="File(out)" telerik:StyleManager.Theme="Office2013" |
870 |
HeaderTextAlignment="Center"> |
871 |
<telerik:GridViewDataColumn.CellTemplate>
|
872 |
<DataTemplate>
|
873 |
<Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
874 |
MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}" |
875 |
Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/> |
876 |
</DataTemplate>
|
877 |
</telerik:GridViewDataColumn.CellTemplate>
|
878 |
</telerik:GridViewDataColumn>
|
879 |
|
880 |
|
881 |
<!--<telerik:GridViewDataColumn Header="FROM_VENDOR" IsReadOnly="True" Width="Auto">
|
882 |
<telerik:GridViewDataColumn.CellTemplate>
|
883 |
<DataTemplate>
|
884 |
<telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
|
885 |
<
|
886 |
<TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
|
887 |
</telerik:RadRibbonButton>
|
888 |
</DataTemplate>
|
889 |
</telerik:GridViewDataColumn.CellTemplate>
|
890 |
</telerik:GridViewDataColumn>-->
|
891 |
<!--<telerik:GridViewDataColumn Header="TO_VENDOR" IsReadOnly="True" Width="Auto">
|
892 |
<telerik:GridViewDataColumn.CellTemplate>
|
893 |
<DataTemplate>
|
894 |
<TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
|
895 |
</DataTemplate>
|
896 |
</telerik:GridViewDataColumn.CellTemplate>
|
897 |
</telerik:GridViewDataColumn>-->
|
898 |
<telerik:GridViewDataColumn Header="SYNC" IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center"> |
899 |
<telerik:GridViewDataColumn.CellTemplate>
|
900 |
<DataTemplate>
|
901 |
<!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
|
902 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
|
903 |
<telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016" Foreground="White"
|
904 |
Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
|
905 |
</Border>-->
|
906 |
<telerik:RadButton Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent" |
907 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}"> |
908 |
<telerik:RadButton.Content>
|
909 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/> |
910 |
</telerik:RadButton.Content>
|
911 |
</telerik:RadButton>
|
912 |
|
913 |
<!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
|
914 |
</DataTemplate>
|
915 |
</telerik:GridViewDataColumn.CellTemplate>
|
916 |
</telerik:GridViewDataColumn>
|
917 |
<telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}" |
918 |
DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True" |
919 |
Header="Attachments" telerik:StyleManager.Theme="Office2013" |
920 |
HeaderTextAlignment="Center"> |
921 |
<telerik:GridViewDataColumn.CellTemplate>
|
922 |
<DataTemplate>
|
923 |
<telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent"> |
924 |
|
925 |
</telerik:RadButton>
|
926 |
</DataTemplate>
|
927 |
</telerik:GridViewDataColumn.CellTemplate>
|
928 |
</telerik:GridViewDataColumn>
|
929 |
</telerik:RadGridView.Columns>
|
930 |
</telerik:RadGridView>
|
931 |
<telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016" |
932 |
BusyContent="Sync Data Loading"/> |
933 |
</Grid>
|
934 |
</telerik:RadPane>
|
935 |
</telerik:RadPaneGroup>
|
936 |
</telerik:RadSplitContainer>
|
937 |
|
938 |
|
939 |
</telerik:RadDocking>
|
940 |
</Grid>
|
941 |
</UserControl>
|