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