markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ aaed7be2
이력 | 보기 | 이력해설 | 다운로드 (39.8 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" Height="22" VerticalAlignment="Top"/> |
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="" AcceptsReturn="False"> |
138 |
<telerik:RadMaskedTextInput.InputBindings>
|
139 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
140 |
</telerik:RadMaskedTextInput.InputBindings>
|
141 |
</telerik:RadMaskedTextInput>
|
142 |
|
143 |
<TextBlock Text="MarkupInfo ID " Grid.Row="1" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
144 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
145 |
TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
146 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
147 |
<telerik:RadMaskedTextInput.InputBindings>
|
148 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
149 |
</telerik:RadMaskedTextInput.InputBindings>
|
150 |
</telerik:RadMaskedTextInput>
|
151 |
|
152 |
<TextBlock Text="Docuemnt Name " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
153 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
154 |
TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0" |
155 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
156 |
<telerik:RadMaskedTextInput.InputBindings>
|
157 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
158 |
</telerik:RadMaskedTextInput.InputBindings>
|
159 |
</telerik:RadMaskedTextInput>
|
160 |
|
161 |
<TextBlock Text="Docuemnt NO " Grid.Row="3" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
162 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
163 |
TextMode="PlainText" Grid.Row="3" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
164 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
165 |
<telerik:RadMaskedTextInput.InputBindings>
|
166 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
167 |
</telerik:RadMaskedTextInput.InputBindings>
|
168 |
</telerik:RadMaskedTextInput>
|
169 |
|
170 |
<TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
171 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="CreateUser ID " Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
172 |
TextMode="PlainText" Grid.Row="3" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
173 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
174 |
<telerik:RadMaskedTextInput.InputBindings>
|
175 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
176 |
</telerik:RadMaskedTextInput.InputBindings>
|
177 |
</telerik:RadMaskedTextInput>
|
178 |
|
179 |
<TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
180 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocInfo ID" Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
181 |
TextMode="PlainText" Grid.Row="1" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
182 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
183 |
<telerik:RadMaskedTextInput.InputBindings>
|
184 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
185 |
</telerik:RadMaskedTextInput.InputBindings>
|
186 |
</telerik:RadMaskedTextInput>
|
187 |
|
188 |
<TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
189 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="GROUP NO" Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
190 |
TextMode="PlainText" Grid.Row="3" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
191 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
192 |
<telerik:RadMaskedTextInput.InputBindings>
|
193 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
194 |
</telerik:RadMaskedTextInput.InputBindings>
|
195 |
</telerik:RadMaskedTextInput>
|
196 |
|
197 |
<TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
198 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="REVISION" Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
199 |
TextMode="PlainText" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
200 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
201 |
<telerik:RadMaskedTextInput.InputBindings>
|
202 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
203 |
</telerik:RadMaskedTextInput.InputBindings>
|
204 |
</telerik:RadMaskedTextInput>
|
205 |
|
206 |
<TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
207 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DOCUMENT_URL" Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
208 |
TextMode="PlainText" Grid.Row="5" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7" |
209 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False"> |
210 |
<telerik:RadMaskedTextInput.InputBindings>
|
211 |
<KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" /> |
212 |
</telerik:RadMaskedTextInput.InputBindings>
|
213 |
</telerik:RadMaskedTextInput>
|
214 |
</Grid>
|
215 |
|
216 |
<StackPanel Grid.Row="4" Grid.ColumnSpan="11"> |
217 |
<StackPanel Orientation="Horizontal"> |
218 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
219 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
220 |
InputMode="DateTimePicker" |
221 |
VerticalAlignment="Center" |
222 |
HorizontalAlignment="Stretch" |
223 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
224 |
</telerik:RadDateTimePicker>
|
225 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
226 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
227 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
228 |
VerticalAlignment="Center" |
229 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
230 |
Margin="0,1"> |
231 |
</telerik:RadDateTimePicker>
|
232 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
233 |
|
234 |
<CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox> |
235 |
</StackPanel>
|
236 |
</StackPanel>
|
237 |
</Grid>
|
238 |
|
239 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2"> |
240 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
241 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
242 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
243 |
</StackPanel>
|
244 |
|
245 |
|
246 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="3" |
247 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
248 |
telerik:AnimationManager.IsAnimationEnabled="False" > |
249 |
<telerik:RadExpander.Header>
|
250 |
<Grid>
|
251 |
<Grid.ColumnDefinitions>
|
252 |
<ColumnDefinition Width="Auto"/> |
253 |
<ColumnDefinition Width="Auto"/> |
254 |
</Grid.ColumnDefinitions>
|
255 |
<TextBlock Text="Final PDF Items : "/> |
256 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/> |
257 |
</Grid>
|
258 |
</telerik:RadExpander.Header>
|
259 |
|
260 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
261 |
ItemsSource="{Binding FilterConvertSourceView}" |
262 |
SelectionMode="Extended" |
263 |
SelectionUnit="FullRow" |
264 |
CanUserSelect ="True" |
265 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
266 |
AutoGenerateColumns="False" |
267 |
ColumnWidth="*" CanUserFreezeColumns="False" |
268 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
269 |
LeftFrozenColumnCount="6" |
270 |
RightFrozenColumnCount="0"> |
271 |
<i:Interaction.Behaviors>
|
272 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" /> |
273 |
</i:Interaction.Behaviors>
|
274 |
<telerik:RadContextMenu.ContextMenu>
|
275 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
276 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
277 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
278 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
279 |
</telerik:RadContextMenu>
|
280 |
</telerik:RadContextMenu.ContextMenu>
|
281 |
<telerik:RadGridView.Columns>
|
282 |
<telerik:GridViewToggleRowDetailsColumn /> |
283 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
284 |
|
285 |
<telerik:GridViewDataColumn Header="Convert ID" |
286 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
287 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
288 |
<telerik:GridViewDataColumn.CellTemplate>
|
289 |
<DataTemplate>
|
290 |
<telerik:RadButton Content="Click" BorderThickness="0" |
291 |
Background="Transparent" |
292 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
293 |
</DataTemplate>
|
294 |
</telerik:GridViewDataColumn.CellTemplate>
|
295 |
</telerik:GridViewDataColumn>
|
296 |
<telerik:GridViewDataColumn Header="ProjectNO" |
297 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
298 |
<telerik:GridViewDataColumn Header="DocumentID" |
299 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
300 |
<telerik:GridViewDataColumn Header="ConvertState" |
301 |
DataMemberBinding="{Binding ConvertState}" Width="*" /> |
302 |
<telerik:GridViewDataColumn Header="DocInfoID" |
303 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
304 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
305 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
306 |
<telerik:GridViewDataColumn Header="Create UserID" |
307 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
308 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
309 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
310 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
311 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
312 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
313 |
NavigateUrlFormatString=" {0}" |
314 |
NavigateUrlMemberPaths="OriginfilePath" |
315 |
Width="2*"> |
316 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
317 |
<DataTemplate>
|
318 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
319 |
</DataTemplate>
|
320 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
321 |
</telerik:GridViewDynamicHyperlinkColumn>
|
322 |
|
323 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
324 |
<telerik:GridViewDataColumn.CellTemplate>
|
325 |
<DataTemplate>
|
326 |
<Grid>
|
327 |
<Grid.ColumnDefinitions>
|
328 |
<ColumnDefinition/> |
329 |
<ColumnDefinition Width="Auto"/> |
330 |
</Grid.ColumnDefinitions>
|
331 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
332 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1" |
333 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
334 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
335 |
</telerik:RadButton>
|
336 |
</Grid>
|
337 |
</DataTemplate>
|
338 |
</telerik:GridViewDataColumn.CellTemplate>
|
339 |
</telerik:GridViewDataColumn>
|
340 |
<telerik:GridViewDataColumn Header="CreateTime" |
341 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
342 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
343 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
344 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
345 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
346 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
347 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
348 |
</telerik:RadGridView.Columns>
|
349 |
</telerik:RadGridView>
|
350 |
</telerik:RadExpander>
|
351 |
|
352 |
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0" |
353 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
354 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
355 |
<telerik:RadExpander.Header>
|
356 |
<Grid>
|
357 |
<Grid.ColumnDefinitions>
|
358 |
<ColumnDefinition Width="Auto"/> |
359 |
<ColumnDefinition Width="Auto"/> |
360 |
</Grid.ColumnDefinitions>
|
361 |
<TextBlock Text="Real FinalPDF Items : "/> |
362 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
363 |
</Grid>
|
364 |
</telerik:RadExpander.Header>
|
365 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
366 |
ItemsSource="{Binding RealConvertSource}" |
367 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
368 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
369 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
370 |
ColumnWidth="*" |
371 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
372 |
<telerik:RadContextMenu.ContextMenu>
|
373 |
<telerik:RadContextMenu>
|
374 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}" CommandParameter="{Binding SelectRealConvert}"/> |
375 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}" CommandParameter="{Binding SelectRealConvert}"/> |
376 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}" CommandParameter="{Binding SelectRealConvert}"/> |
377 |
<telerik:RadMenuItem Header="Stop Process" Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectRealConvert}" /> |
378 |
</telerik:RadContextMenu>
|
379 |
</telerik:RadContextMenu.ContextMenu>
|
380 |
<telerik:RadGridView.Columns>
|
381 |
<telerik:GridViewToggleRowDetailsColumn /> |
382 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
383 |
|
384 |
<telerik:GridViewDataColumn Header="Convert ID" |
385 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
386 |
|
387 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
388 |
<telerik:GridViewDataColumn.CellTemplate>
|
389 |
<DataTemplate>
|
390 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
391 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
392 |
</DataTemplate>
|
393 |
</telerik:GridViewDataColumn.CellTemplate>
|
394 |
</telerik:GridViewDataColumn>
|
395 |
<telerik:GridViewDataColumn Header="ProjectNO" |
396 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
397 |
<telerik:GridViewDataColumn Header="DocumentID" |
398 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
399 |
<telerik:GridViewDataColumn Header="ConvertState" |
400 |
DataMemberBinding="{Binding ConvertState}" Width="*" /> |
401 |
<telerik:GridViewDataColumn Header="DocInfoID" |
402 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
403 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
404 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
405 |
<telerik:GridViewDataColumn Header="Create UserID" |
406 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
407 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
408 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
409 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
410 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
411 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
412 |
NavigateUrlFormatString=" {0}" |
413 |
NavigateUrlMemberPaths="OriginfilePath" |
414 |
Width="2*"> |
415 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
416 |
<DataTemplate>
|
417 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" /> |
418 |
</DataTemplate>
|
419 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
420 |
</telerik:GridViewDynamicHyperlinkColumn>
|
421 |
|
422 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
423 |
<telerik:GridViewDataColumn.CellTemplate>
|
424 |
<DataTemplate>
|
425 |
<Grid>
|
426 |
<Grid.ColumnDefinitions>
|
427 |
<ColumnDefinition/> |
428 |
<ColumnDefinition Width="Auto"/> |
429 |
</Grid.ColumnDefinitions>
|
430 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
431 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1" |
432 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
433 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
434 |
</telerik:RadButton>
|
435 |
</Grid>
|
436 |
</DataTemplate>
|
437 |
</telerik:GridViewDataColumn.CellTemplate>
|
438 |
</telerik:GridViewDataColumn>
|
439 |
|
440 |
<telerik:GridViewDataColumn Header="CreateTime" |
441 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
442 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
443 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
444 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
445 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
446 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
447 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
448 |
</telerik:RadGridView.Columns>
|
449 |
</telerik:RadGridView>
|
450 |
</telerik:RadExpander>
|
451 |
|
452 |
<telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" Margin="0,0,0,10" |
453 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
454 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding AliveShow, Mode=TwoWay}"> |
455 |
<telerik:RadExpander.Header>
|
456 |
<Grid>
|
457 |
<Grid.ColumnDefinitions>
|
458 |
<ColumnDefinition Width="Auto"/> |
459 |
<ColumnDefinition Width="Auto"/> |
460 |
</Grid.ColumnDefinitions>
|
461 |
<TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/> |
462 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/> |
463 |
</Grid>
|
464 |
</telerik:RadExpander.Header>
|
465 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
466 |
ItemsSource="{Binding AliveItems}" |
467 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
468 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
469 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
470 |
<telerik:RadContextMenu.ContextMenu>
|
471 |
<telerik:RadContextMenu>
|
472 |
<telerik:RadMenuItem Header="Stop Process" Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectAliveConvert}"/> |
473 |
</telerik:RadContextMenu>
|
474 |
</telerik:RadContextMenu.ContextMenu>
|
475 |
<telerik:RadGridView.Columns>
|
476 |
<telerik:GridViewToggleRowDetailsColumn /> |
477 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
478 |
|
479 |
<telerik:GridViewDataColumn Header="Convert ID" |
480 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
481 |
|
482 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
483 |
<telerik:GridViewDataColumn.CellTemplate>
|
484 |
<DataTemplate>
|
485 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
486 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
487 |
</DataTemplate>
|
488 |
</telerik:GridViewDataColumn.CellTemplate>
|
489 |
</telerik:GridViewDataColumn>
|
490 |
<telerik:GridViewDataColumn Header="ProjectNO" |
491 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
492 |
<telerik:GridViewDataColumn Header="DocumentID" |
493 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
494 |
<telerik:GridViewDataColumn Header="ConvertState" |
495 |
DataMemberBinding="{Binding ConvertState}" Width="*" /> |
496 |
<telerik:GridViewDataColumn Header="DocInfoID" |
497 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
498 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
499 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
500 |
<telerik:GridViewDataColumn Header="Create UserID" |
501 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
502 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
503 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
504 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
505 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
506 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
507 |
NavigateUrlFormatString=" {0}" |
508 |
NavigateUrlMemberPaths="OriginfilePath" |
509 |
Width="2*"> |
510 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
511 |
<DataTemplate>
|
512 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
513 |
</DataTemplate>
|
514 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
515 |
</telerik:GridViewDynamicHyperlinkColumn>
|
516 |
|
517 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
518 |
<telerik:GridViewDataColumn.CellTemplate>
|
519 |
<DataTemplate>
|
520 |
<Grid>
|
521 |
<Grid.ColumnDefinitions>
|
522 |
<ColumnDefinition/> |
523 |
<ColumnDefinition Width="Auto"/> |
524 |
</Grid.ColumnDefinitions>
|
525 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
526 |
<telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
527 |
Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
528 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
529 |
</telerik:RadButton>
|
530 |
</Grid>
|
531 |
</DataTemplate>
|
532 |
</telerik:GridViewDataColumn.CellTemplate>
|
533 |
</telerik:GridViewDataColumn>
|
534 |
|
535 |
<telerik:GridViewDataColumn Header="CreateTime" |
536 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
537 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
538 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
539 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
540 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
541 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
542 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
543 |
</telerik:RadGridView.Columns>
|
544 |
</telerik:RadGridView>
|
545 |
</telerik:RadExpander>
|
546 |
|
547 |
</Grid>
|
548 |
</UserControl>
|
549 |
|