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