markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ 78cffba9
이력 | 보기 | 이력해설 | 다운로드 (36.3 KB)
1 |
<UserControl
|
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
7 |
xmlns:controls="clr-namespace:Markus.Service.StationController.Controls" |
8 |
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel" |
9 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
10 |
xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.FinalPDFView" |
11 |
xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input" |
12 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource FinalPDFViewModel}" |
13 |
d:DesignHeight="450" d:DesignWidth="1000"> |
14 |
<UserControl.Resources>
|
15 |
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle"> |
16 |
<Setter Property="Margin" Value="0"/> |
17 |
<Setter Property="Padding" Value="0"/> |
18 |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> |
19 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
20 |
</Style>
|
21 |
<Style TargetType="{x:Type telerik:GridViewHeaderCell}"> |
22 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
23 |
<Setter Property="Background" Value="Gray"/> |
24 |
</Style>
|
25 |
<Style TargetType="{x:Type telerik:GridViewCell}"> |
26 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
27 |
</Style>
|
28 |
<Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell"> |
29 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
30 |
</Style>
|
31 |
<Style TargetType="{x:Type controls:RowIndexColumn}"> |
32 |
<Setter Property="TextAlignment" Value="Center"/> |
33 |
</Style>
|
34 |
<Style TargetType="{x:Type TextBox}"> |
35 |
<Setter Property="Margin" Value="5,5,0,0"/> |
36 |
<Setter Property="VerticalAlignment" Value="Center"/> |
37 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
38 |
<Setter Property="Foreground" Value="Black"/> |
39 |
<Setter Property="Background" Value="Transparent"/> |
40 |
<Setter Property="BorderBrush" Value="Transparent"/> |
41 |
<Setter Property="BorderThickness" Value="0"/> |
42 |
<Setter Property="IsReadOnly" Value="true"/> |
43 |
<Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
44 |
<Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> |
45 |
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/> |
46 |
<Setter Property="Template"> |
47 |
<Setter.Value>
|
48 |
<ControlTemplate TargetType="{x:Type TextBox}"> |
49 |
<Border x:Name="Bd" |
50 |
BorderThickness="{TemplateBinding BorderThickness}" |
51 |
SnapsToDevicePixels="true"> |
52 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
53 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
54 |
</Border>
|
55 |
</ControlTemplate>
|
56 |
</Setter.Value>
|
57 |
</Setter>
|
58 |
</Style>
|
59 |
|
60 |
<VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/> |
61 |
<DataTemplate x:Key="RowDetailsTemplate"> |
62 |
<local:FinalPDFInfo /> |
63 |
</DataTemplate>
|
64 |
</UserControl.Resources>
|
65 |
<i:Interaction.Triggers>
|
66 |
<i:EventTrigger EventName="Loaded"> |
67 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
68 |
</i:EventTrigger>
|
69 |
<i:EventTrigger EventName="Unloaded"> |
70 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
71 |
</i:EventTrigger>
|
72 |
</i:Interaction.Triggers>
|
73 |
<Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch"> |
74 |
<Grid.RowDefinitions>
|
75 |
<RowDefinition Height="Auto"/> |
76 |
<RowDefinition Height="Auto"/> |
77 |
<RowDefinition Height="Auto"/> |
78 |
<RowDefinition Height="*"/> |
79 |
<RowDefinition Height="Auto"/> |
80 |
<RowDefinition Height="Auto"/> |
81 |
</Grid.RowDefinitions>
|
82 |
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"> |
83 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
84 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember" |
85 |
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" /> |
86 |
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/> |
87 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4" |
88 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
89 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
90 |
</StackPanel>
|
91 |
|
92 |
|
93 |
<Grid Grid.Row="1"> |
94 |
<Grid.Style>
|
95 |
<Style>
|
96 |
<Setter Property="TextBlock.Margin" Value="20,0,0,0"/> |
97 |
</Style>
|
98 |
</Grid.Style>
|
99 |
<Grid.RowDefinitions>
|
100 |
<RowDefinition /> |
101 |
<RowDefinition /> |
102 |
</Grid.RowDefinitions>
|
103 |
<Grid Grid.Row="0"> |
104 |
<Grid.RowDefinitions>
|
105 |
<RowDefinition Height="10"/> |
106 |
<RowDefinition /> |
107 |
<RowDefinition Height="10"/> |
108 |
<RowDefinition /> |
109 |
<RowDefinition Height="10" /> |
110 |
<RowDefinition /> |
111 |
<RowDefinition Height="10" /> |
112 |
</Grid.RowDefinitions>
|
113 |
<Grid.ColumnDefinitions>
|
114 |
<ColumnDefinition Width="Auto"/> |
115 |
<ColumnDefinition Width="*" /> |
116 |
<ColumnDefinition Width="10"/> |
117 |
<ColumnDefinition Width="Auto"/> |
118 |
<ColumnDefinition Width="*"/> |
119 |
<ColumnDefinition Width="10"/> |
120 |
<ColumnDefinition Width="Auto"/> |
121 |
<ColumnDefinition Width="*"/> |
122 |
<ColumnDefinition Width="10"/> |
123 |
<ColumnDefinition Width="Auto"/> |
124 |
<ColumnDefinition Width="*"/> |
125 |
</Grid.ColumnDefinitions>
|
126 |
<TextBlock Text="Project NO " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
127 |
<telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch" |
128 |
DisplayMemberPath="Project_NOAndProject_Name" |
129 |
ItemsSource="{Binding ProjectNames}" |
130 |
SelectedItem="{Binding ProjectNumberFilter}" |
131 |
AllowMultipleSelection="False" |
132 |
EmptyText="Project_NO : Project_Name"/> |
133 |
|
134 |
<TextBlock Text="Document ID " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
135 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
136 |
TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
137 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
138 |
|
139 |
<TextBlock Text="MarkupInfo ID " Grid.Row="1" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
140 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
141 |
TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
142 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
143 |
|
144 |
<TextBlock Text="Docuemnt Name " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
145 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
146 |
TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0" |
147 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
148 |
|
149 |
<TextBlock Text="Docuemnt NO " Grid.Row="3" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
150 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
151 |
TextMode="PlainText" Grid.Row="3" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
152 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
153 |
<TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
154 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="CreateUser ID " Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
155 |
TextMode="PlainText" Grid.Row="3" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
156 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
157 |
<TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
158 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocInfo ID" Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
159 |
TextMode="PlainText" Grid.Row="1" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
160 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
161 |
<TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
162 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="GROUP NO" Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
163 |
TextMode="PlainText" Grid.Row="3" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
164 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
165 |
<TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
166 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="REVISION" Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
167 |
TextMode="PlainText" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
168 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
169 |
|
170 |
<TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
171 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DOCUMENT_URL" Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
172 |
TextMode="PlainText" Grid.Row="5" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7" |
173 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
174 |
</Grid>
|
175 |
|
176 |
<StackPanel Grid.Row="4" Grid.ColumnSpan="11"> |
177 |
<StackPanel Orientation="Horizontal"> |
178 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
179 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
180 |
InputMode="DateTimePicker" |
181 |
VerticalAlignment="Center" |
182 |
HorizontalAlignment="Stretch" |
183 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
184 |
</telerik:RadDateTimePicker>
|
185 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
186 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
187 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
188 |
VerticalAlignment="Center" |
189 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
190 |
Margin="0,1"> |
191 |
</telerik:RadDateTimePicker>
|
192 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
193 |
|
194 |
<CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox> |
195 |
</StackPanel>
|
196 |
</StackPanel>
|
197 |
</Grid>
|
198 |
|
199 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2"> |
200 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
201 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
202 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
203 |
</StackPanel>
|
204 |
|
205 |
|
206 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="3" |
207 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
208 |
telerik:AnimationManager.IsAnimationEnabled="False" > |
209 |
<telerik:RadExpander.Header>
|
210 |
<Grid>
|
211 |
<Grid.ColumnDefinitions>
|
212 |
<ColumnDefinition Width="Auto"/> |
213 |
<ColumnDefinition Width="Auto"/> |
214 |
</Grid.ColumnDefinitions>
|
215 |
<TextBlock Text="Final PDF Items : "/> |
216 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/> |
217 |
</Grid>
|
218 |
</telerik:RadExpander.Header>
|
219 |
|
220 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
221 |
ItemsSource="{Binding FilterConvertSourceView}" |
222 |
SelectionMode="Extended" |
223 |
SelectionUnit="FullRow" |
224 |
CanUserSelect ="True" |
225 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
226 |
AutoGenerateColumns="False" |
227 |
ColumnWidth="*" CanUserFreezeColumns="False" |
228 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
229 |
LeftFrozenColumnCount="6" |
230 |
RightFrozenColumnCount="0"> |
231 |
<i:Interaction.Behaviors>
|
232 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" /> |
233 |
</i:Interaction.Behaviors>
|
234 |
<telerik:RadContextMenu.ContextMenu>
|
235 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
236 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
237 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
238 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
239 |
</telerik:RadContextMenu>
|
240 |
</telerik:RadContextMenu.ContextMenu>
|
241 |
<telerik:RadGridView.Columns>
|
242 |
<telerik:GridViewToggleRowDetailsColumn /> |
243 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
244 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
245 |
<telerik:GridViewDataColumn.CellTemplate>
|
246 |
<DataTemplate>
|
247 |
<telerik:RadButton Content="Click" BorderThickness="0" |
248 |
Background="Transparent" |
249 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
250 |
</DataTemplate>
|
251 |
</telerik:GridViewDataColumn.CellTemplate>
|
252 |
</telerik:GridViewDataColumn>
|
253 |
<telerik:GridViewDataColumn Header="ProjectNO" |
254 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
255 |
<telerik:GridViewDataColumn Header="DocumentID" |
256 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
257 |
<telerik:GridViewDataColumn Header="DocInfoID" |
258 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
259 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
260 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
261 |
<telerik:GridViewDataColumn Header="Create UserID" |
262 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
263 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
264 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
265 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
266 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
267 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
268 |
NavigateUrlFormatString=" {0}" |
269 |
NavigateUrlMemberPaths="OriginfilePath" |
270 |
Width="2*"> |
271 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
272 |
<DataTemplate>
|
273 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
274 |
</DataTemplate>
|
275 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
276 |
</telerik:GridViewDynamicHyperlinkColumn>
|
277 |
|
278 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
279 |
<telerik:GridViewDataColumn.CellTemplate>
|
280 |
<DataTemplate>
|
281 |
<Grid>
|
282 |
<!--<Grid.ColumnDefinitions>
|
283 |
<ColumnDefinition/>
|
284 |
<ColumnDefinition Width="Auto"/>
|
285 |
</Grid.ColumnDefinitions>
|
286 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
287 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
288 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
289 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
290 |
</telerik:RadButton>
|
291 |
</Grid>
|
292 |
</DataTemplate>
|
293 |
</telerik:GridViewDataColumn.CellTemplate>
|
294 |
</telerik:GridViewDataColumn>
|
295 |
<telerik:GridViewDataColumn Header="CreateTime" |
296 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
297 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
298 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
299 |
</telerik:RadGridView.Columns>
|
300 |
</telerik:RadGridView>
|
301 |
</telerik:RadExpander>
|
302 |
|
303 |
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0" |
304 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
305 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
306 |
<telerik:RadExpander.Header>
|
307 |
<Grid>
|
308 |
<Grid.ColumnDefinitions>
|
309 |
<ColumnDefinition Width="Auto"/> |
310 |
<ColumnDefinition Width="Auto"/> |
311 |
</Grid.ColumnDefinitions>
|
312 |
<TextBlock Text="Real FinalPDF Items : "/> |
313 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
314 |
</Grid>
|
315 |
</telerik:RadExpander.Header>
|
316 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
317 |
ItemsSource="{Binding RealConvertSource}" |
318 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
319 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
320 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
321 |
ColumnWidth="*" |
322 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
323 |
<telerik:RadContextMenu.ContextMenu>
|
324 |
<telerik:RadContextMenu>
|
325 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
326 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
327 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
328 |
</telerik:RadContextMenu>
|
329 |
</telerik:RadContextMenu.ContextMenu>
|
330 |
<telerik:RadGridView.Columns>
|
331 |
<telerik:GridViewToggleRowDetailsColumn /> |
332 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
333 |
|
334 |
<telerik:GridViewDataColumn Header=" ID " |
335 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
336 |
|
337 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
338 |
<telerik:GridViewDataColumn.CellTemplate>
|
339 |
<DataTemplate>
|
340 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
341 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
342 |
</DataTemplate>
|
343 |
</telerik:GridViewDataColumn.CellTemplate>
|
344 |
</telerik:GridViewDataColumn>
|
345 |
|
346 |
<telerik:GridViewToggleRowDetailsColumn /> |
347 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
348 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
349 |
<telerik:GridViewDataColumn.CellTemplate>
|
350 |
<DataTemplate>
|
351 |
<telerik:RadButton Content="Click" BorderThickness="0" |
352 |
Background="Transparent" |
353 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
354 |
</DataTemplate>
|
355 |
</telerik:GridViewDataColumn.CellTemplate>
|
356 |
</telerik:GridViewDataColumn>
|
357 |
<telerik:GridViewDataColumn Header="ProjectNO" |
358 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
359 |
<telerik:GridViewDataColumn Header="DocumentID" |
360 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
361 |
<telerik:GridViewDataColumn Header="DocInfoID" |
362 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
363 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
364 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
365 |
<telerik:GridViewDataColumn Header="Create UserID" |
366 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
367 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
368 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
369 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
370 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
371 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
372 |
NavigateUrlFormatString=" {0}" |
373 |
NavigateUrlMemberPaths="OriginfilePath" |
374 |
Width="2*"> |
375 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
376 |
<DataTemplate>
|
377 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" /> |
378 |
</DataTemplate>
|
379 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
380 |
</telerik:GridViewDynamicHyperlinkColumn>
|
381 |
|
382 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
383 |
<telerik:GridViewDataColumn.CellTemplate>
|
384 |
<DataTemplate>
|
385 |
<Grid>
|
386 |
<!--<Grid.ColumnDefinitions>
|
387 |
<ColumnDefinition/>
|
388 |
<ColumnDefinition Width="Auto"/>
|
389 |
</Grid.ColumnDefinitions>
|
390 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
391 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
392 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
393 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
394 |
</telerik:RadButton>
|
395 |
</Grid>
|
396 |
</DataTemplate>
|
397 |
</telerik:GridViewDataColumn.CellTemplate>
|
398 |
</telerik:GridViewDataColumn>
|
399 |
|
400 |
<telerik:GridViewDataColumn Header="CreateTime" |
401 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
402 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
403 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
404 |
</telerik:RadGridView.Columns>
|
405 |
</telerik:RadGridView>
|
406 |
</telerik:RadExpander>
|
407 |
|
408 |
<telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" Margin="0,0,0,10" |
409 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
410 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding AliveShow, Mode=TwoWay}"> |
411 |
<telerik:RadExpander.Header>
|
412 |
<Grid>
|
413 |
<Grid.ColumnDefinitions>
|
414 |
<ColumnDefinition Width="Auto"/> |
415 |
<ColumnDefinition Width="Auto"/> |
416 |
</Grid.ColumnDefinitions>
|
417 |
<TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/> |
418 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/> |
419 |
</Grid>
|
420 |
</telerik:RadExpander.Header>
|
421 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
422 |
ItemsSource="{Binding AliveItems}" |
423 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
424 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
425 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
426 |
<telerik:RadGridView.Columns>
|
427 |
<telerik:GridViewToggleRowDetailsColumn /> |
428 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
429 |
|
430 |
<telerik:GridViewDataColumn Header=" ID " |
431 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
432 |
|
433 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
434 |
<telerik:GridViewDataColumn.CellTemplate>
|
435 |
<DataTemplate>
|
436 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
437 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
438 |
</DataTemplate>
|
439 |
</telerik:GridViewDataColumn.CellTemplate>
|
440 |
</telerik:GridViewDataColumn>
|
441 |
|
442 |
<telerik:GridViewToggleRowDetailsColumn /> |
443 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
444 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
445 |
<telerik:GridViewDataColumn.CellTemplate>
|
446 |
<DataTemplate>
|
447 |
<telerik:RadButton Content="Click" BorderThickness="0" |
448 |
Background="Transparent" |
449 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
450 |
</DataTemplate>
|
451 |
</telerik:GridViewDataColumn.CellTemplate>
|
452 |
</telerik:GridViewDataColumn>
|
453 |
<telerik:GridViewDataColumn Header="ProjectNO" |
454 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
455 |
<telerik:GridViewDataColumn Header="DocumentID" |
456 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
457 |
<telerik:GridViewDataColumn Header="DocInfoID" |
458 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
459 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
460 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
461 |
<telerik:GridViewDataColumn Header="Create UserID" |
462 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
463 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
464 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
465 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
466 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
467 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
468 |
NavigateUrlFormatString=" {0}" |
469 |
NavigateUrlMemberPaths="OriginfilePath" |
470 |
Width="2*"> |
471 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
472 |
<DataTemplate>
|
473 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
474 |
</DataTemplate>
|
475 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
476 |
</telerik:GridViewDynamicHyperlinkColumn>
|
477 |
|
478 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
479 |
<telerik:GridViewDataColumn.CellTemplate>
|
480 |
<DataTemplate>
|
481 |
<Grid>
|
482 |
<!--<Grid.ColumnDefinitions>
|
483 |
<ColumnDefinition/>
|
484 |
<ColumnDefinition Width="Auto"/>
|
485 |
</Grid.ColumnDefinitions>
|
486 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
487 |
<telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
488 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
489 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
490 |
</telerik:RadButton>
|
491 |
</Grid>
|
492 |
</DataTemplate>
|
493 |
</telerik:GridViewDataColumn.CellTemplate>
|
494 |
</telerik:GridViewDataColumn>
|
495 |
|
496 |
<telerik:GridViewDataColumn Header="CreateTime" |
497 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
498 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
499 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
500 |
</telerik:RadGridView.Columns>
|
501 |
</telerik:RadGridView>
|
502 |
</telerik:RadExpander>
|
503 |
|
504 |
</Grid>
|
505 |
</UserControl>
|
506 |
|