markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ 3bde451b
이력 | 보기 | 이력해설 | 다운로드 (33.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 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource FinalPDFViewModel}" |
12 |
d:DesignHeight="450" d:DesignWidth="1000"> |
13 |
<UserControl.Resources>
|
14 |
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle"> |
15 |
<Setter Property="Margin" Value="0"/> |
16 |
<Setter Property="Padding" Value="0"/> |
17 |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> |
18 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
19 |
</Style>
|
20 |
<Style TargetType="{x:Type telerik:GridViewHeaderCell}"> |
21 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
22 |
<Setter Property="Background" Value="Gray"/> |
23 |
</Style>
|
24 |
<Style TargetType="{x:Type telerik:GridViewCell}"> |
25 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
26 |
</Style>
|
27 |
<Style TargetType="{x:Type controls:RowIndexColumn}"> |
28 |
<Setter Property="TextAlignment" Value="Center"/> |
29 |
</Style>
|
30 |
<VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/> |
31 |
<DataTemplate x:Key="RowDetailsTemplate"> |
32 |
<local:FinalPDFInfo /> |
33 |
</DataTemplate>
|
34 |
</UserControl.Resources>
|
35 |
<!--<UserControl.DataContext>
|
36 |
<VM:DataBaseItemsModel/>
|
37 |
</UserControl.DataContext>-->
|
38 |
<i:Interaction.Triggers>
|
39 |
<i:EventTrigger EventName="Loaded"> |
40 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
41 |
</i:EventTrigger>
|
42 |
<i:EventTrigger EventName="Unloaded"> |
43 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
44 |
</i:EventTrigger>
|
45 |
</i:Interaction.Triggers>
|
46 |
<Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch"> |
47 |
<Grid.RowDefinitions>
|
48 |
<RowDefinition Height="Auto"/> |
49 |
<RowDefinition Height="*"/> |
50 |
</Grid.RowDefinitions>
|
51 |
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0" Height="20" > |
52 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
53 |
<telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember" |
54 |
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" /> |
55 |
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/> |
56 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4" |
57 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
58 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
59 |
<!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>-->
|
60 |
</StackPanel>
|
61 |
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
62 |
<Grid.ColumnDefinitions>
|
63 |
<ColumnDefinition Width="387*"/> |
64 |
<ColumnDefinition Width="13*"/> |
65 |
</Grid.ColumnDefinitions>
|
66 |
<Grid.RowDefinitions>
|
67 |
<RowDefinition/> |
68 |
<RowDefinition/> |
69 |
<RowDefinition/> |
70 |
</Grid.RowDefinitions>
|
71 |
|
72 |
<Grid Grid.Row="0"> |
73 |
<Grid.Style>
|
74 |
<Style>
|
75 |
<Setter Property="TextBlock.Margin" Value="20,0,0,0"/> |
76 |
</Style>
|
77 |
</Grid.Style>
|
78 |
<Grid.RowDefinitions>
|
79 |
<RowDefinition /> |
80 |
<RowDefinition /> |
81 |
</Grid.RowDefinitions>
|
82 |
<Grid Grid.Row="0"> |
83 |
<Grid.RowDefinitions>
|
84 |
<RowDefinition /> |
85 |
<RowDefinition /> |
86 |
<RowDefinition /> |
87 |
</Grid.RowDefinitions>
|
88 |
<Grid.ColumnDefinitions>
|
89 |
<ColumnDefinition Width="Auto"/> |
90 |
<ColumnDefinition Width="*" /> |
91 |
<ColumnDefinition Width="10"/> |
92 |
<ColumnDefinition Width="Auto"/> |
93 |
<ColumnDefinition Width="*"/> |
94 |
<ColumnDefinition Width="10"/> |
95 |
<ColumnDefinition Width="Auto"/> |
96 |
<ColumnDefinition Width="*"/> |
97 |
<ColumnDefinition Width="10"/> |
98 |
<ColumnDefinition Width="Auto"/> |
99 |
<ColumnDefinition Width="*"/> |
100 |
</Grid.ColumnDefinitions>
|
101 |
<TextBlock Text="Project NO " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
102 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1" EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch" |
103 |
TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" /> |
104 |
|
105 |
<TextBlock Text="Document ID " Grid.Row="0" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
106 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
107 |
TextMode="PlainText" Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
108 |
|
109 |
<TextBlock Text="MarkupInfo ID " Grid.Row="0" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
110 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
111 |
TextMode="PlainText" Grid.Row="0" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
112 |
|
113 |
<TextBlock Text="Docuemnt Name " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
114 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
115 |
TextMode="PlainText" Grid.Row="1" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"/> |
116 |
|
117 |
<TextBlock Text="Docuemnt NO " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
118 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
119 |
TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
120 |
<TextBlock Text="CreateUser ID " Grid.Row="1" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
121 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="CreateUser ID " Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
122 |
TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
123 |
<TextBlock Text="DocInfo ID " Grid.Row="0" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
124 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocInfo ID" Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
125 |
TextMode="PlainText" Grid.Row="0" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
126 |
<TextBlock Text="GROUP NO " Grid.Row="1" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
127 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="GROUP NO" Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
128 |
TextMode="PlainText" Grid.Row="1" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
129 |
<TextBlock Text="REVISION " Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
130 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="REVISION" Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
131 |
TextMode="PlainText" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/> |
132 |
</Grid>
|
133 |
<Grid Grid.Row="1"/> |
134 |
<StackPanel Grid.Row="4" Grid.ColumnSpan="11"> |
135 |
<StackPanel Orientation="Horizontal"> |
136 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
137 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
138 |
InputMode="DateTimePicker" |
139 |
VerticalAlignment="Center" |
140 |
HorizontalAlignment="Stretch" |
141 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
142 |
</telerik:RadDateTimePicker>
|
143 |
<!--<DatePicker Text="{Binding OpenStartTime, StringFormat='yy.mm.dd HH:mm:ss' ,RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}" SelectedDate="{Binding SelectedOpenTime}" Width="124" SelectedDateFormat="Long" Margin="0,-1,0,1"/>-->
|
144 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
145 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
146 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
147 |
VerticalAlignment="Center" |
148 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
149 |
Margin="0,1"> |
150 |
</telerik:RadDateTimePicker>
|
151 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
152 |
</StackPanel>
|
153 |
</StackPanel>
|
154 |
</Grid>
|
155 |
|
156 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1"> |
157 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
158 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
159 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
160 |
</StackPanel>
|
161 |
|
162 |
<StackPanel Orientation="Vertical" MaxHeight="800" Grid.Row="2"> |
163 |
<!--<StackPanel Orientation="Vertical">-->
|
164 |
|
165 |
<!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
166 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
167 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
168 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
169 |
</StackPanel>-->
|
170 |
<!--</StackPanel>-->
|
171 |
|
172 |
<DockPanel LastChildFill="True"> |
173 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="1" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}" |
174 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
175 |
telerik:AnimationManager.IsAnimationEnabled="False" > |
176 |
<telerik:RadExpander.Header>
|
177 |
<Grid>
|
178 |
<Grid.ColumnDefinitions>
|
179 |
<ColumnDefinition Width="Auto"/> |
180 |
<ColumnDefinition Width="Auto"/> |
181 |
</Grid.ColumnDefinitions>
|
182 |
<TextBlock Text="Final PDF Items : "/> |
183 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/> |
184 |
</Grid>
|
185 |
</telerik:RadExpander.Header>
|
186 |
|
187 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
188 |
ItemsSource="{Binding FilterConvertSourceView}" |
189 |
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}" |
190 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
191 |
AutoGenerateColumns="False" |
192 |
ColumnWidth="*" CanUserFreezeColumns="False" |
193 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
194 |
LeftFrozenColumnCount="6" |
195 |
RightFrozenColumnCount="0"> |
196 |
<telerik:RadContextMenu.ContextMenu>
|
197 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
198 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
199 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
200 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
201 |
</telerik:RadContextMenu>
|
202 |
</telerik:RadContextMenu.ContextMenu>
|
203 |
<telerik:RadGridView.Columns>
|
204 |
<telerik:GridViewToggleRowDetailsColumn /> |
205 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
206 |
<telerik:GridViewDataColumn Header=" ID " |
207 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
208 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
209 |
<telerik:GridViewDataColumn.CellTemplate>
|
210 |
<DataTemplate>
|
211 |
<telerik:RadButton Content="Click" BorderThickness="0" |
212 |
Background="Transparent" |
213 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
214 |
</DataTemplate>
|
215 |
</telerik:GridViewDataColumn.CellTemplate>
|
216 |
</telerik:GridViewDataColumn>
|
217 |
<telerik:GridViewDataColumn Header="ProjectNO" |
218 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
219 |
<telerik:GridViewDataColumn Header="DocumentID" |
220 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
221 |
<telerik:GridViewDataColumn Header="DocInfoID" |
222 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
223 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
224 |
DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" /> |
225 |
<telerik:GridViewDataColumn Header="Create UserID" |
226 |
DataMemberBinding="{Binding Create_UserID}" Width="*" /> |
227 |
<telerik:GridViewDataColumn Header="ConvertState" |
228 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
229 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
230 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
231 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
232 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
233 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
234 |
NavigateUrlFormatString=" {0}" |
235 |
NavigateUrlMemberPaths="OriginfilePath" |
236 |
Width="2*"> |
237 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
238 |
<DataTemplate>
|
239 |
<TextBlock Text="{Binding FileName}"/> |
240 |
</DataTemplate>
|
241 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
242 |
</telerik:GridViewDynamicHyperlinkColumn>
|
243 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
244 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
245 |
<telerik:GridViewDataColumn Header="CreateTime" |
246 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
247 |
<telerik:GridViewDataColumn Header="StartTime" |
248 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
249 |
<telerik:GridViewDataColumn Header="EndTime" |
250 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
251 |
</telerik:RadGridView.Columns>
|
252 |
</telerik:RadGridView>
|
253 |
</telerik:RadExpander>
|
254 |
</DockPanel>
|
255 |
|
256 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding RealConvert_Height,Mode=OneWay}" |
257 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
258 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
259 |
<telerik:RadExpander.Header>
|
260 |
<Grid>
|
261 |
<Grid.ColumnDefinitions>
|
262 |
<ColumnDefinition Width="Auto"/> |
263 |
<ColumnDefinition Width="Auto"/> |
264 |
</Grid.ColumnDefinitions>
|
265 |
<TextBlock Text="Real FinalPDF Items : "/> |
266 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
267 |
</Grid>
|
268 |
</telerik:RadExpander.Header>
|
269 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
270 |
ItemsSource="{Binding RealConvertSource}" |
271 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
272 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
273 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
274 |
ColumnWidth="*" |
275 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
276 |
<telerik:RadContextMenu.ContextMenu>
|
277 |
<telerik:RadContextMenu>
|
278 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
279 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
280 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
281 |
</telerik:RadContextMenu>
|
282 |
</telerik:RadContextMenu.ContextMenu>
|
283 |
<telerik:RadGridView.Columns>
|
284 |
<telerik:GridViewToggleRowDetailsColumn /> |
285 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
286 |
|
287 |
<telerik:GridViewDataColumn Header=" ID " |
288 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
289 |
|
290 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
291 |
<telerik:GridViewDataColumn.CellTemplate>
|
292 |
<DataTemplate>
|
293 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
294 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
295 |
</DataTemplate>
|
296 |
</telerik:GridViewDataColumn.CellTemplate>
|
297 |
</telerik:GridViewDataColumn>
|
298 |
|
299 |
<telerik:GridViewToggleRowDetailsColumn /> |
300 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
301 |
<telerik:GridViewDataColumn Header=" ID " |
302 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
303 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
304 |
<telerik:GridViewDataColumn.CellTemplate>
|
305 |
<DataTemplate>
|
306 |
<telerik:RadButton Content="Click" BorderThickness="0" |
307 |
Background="Transparent" |
308 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
309 |
</DataTemplate>
|
310 |
</telerik:GridViewDataColumn.CellTemplate>
|
311 |
</telerik:GridViewDataColumn>
|
312 |
<telerik:GridViewDataColumn Header="ProjectNO" |
313 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
314 |
<telerik:GridViewDataColumn Header="DocumentID" |
315 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
316 |
<telerik:GridViewDataColumn Header="DocInfoID" |
317 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
318 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
319 |
DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" /> |
320 |
<telerik:GridViewDataColumn Header="Create UserID" |
321 |
DataMemberBinding="{Binding Create_UserID}" Width="*" /> |
322 |
<telerik:GridViewDataColumn Header="ConvertState" |
323 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
324 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
325 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
326 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
327 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
328 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
329 |
NavigateUrlFormatString=" {0}" |
330 |
NavigateUrlMemberPaths="OriginfilePath" |
331 |
Width="2*"> |
332 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
333 |
<DataTemplate>
|
334 |
<TextBlock Text="{Binding FileName}"/> |
335 |
</DataTemplate>
|
336 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
337 |
</telerik:GridViewDynamicHyperlinkColumn>
|
338 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
339 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
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" |
343 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
344 |
<telerik:GridViewDataColumn Header="EndTime" |
345 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
346 |
</telerik:RadGridView.Columns>
|
347 |
</telerik:RadGridView>
|
348 |
</telerik:RadExpander>
|
349 |
|
350 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" |
351 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" MaxHeight="{Binding Alive_Height,Mode=OneWay}" |
352 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="False"> |
353 |
<telerik:RadExpander.Header>
|
354 |
<Grid>
|
355 |
<Grid.RowDefinitions>
|
356 |
<RowDefinition Height="11*"/> |
357 |
<RowDefinition Height="5*"/> |
358 |
</Grid.RowDefinitions>
|
359 |
<Grid.ColumnDefinitions>
|
360 |
<ColumnDefinition Width="Auto"/> |
361 |
<ColumnDefinition Width="Auto"/> |
362 |
</Grid.ColumnDefinitions>
|
363 |
<TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/> |
364 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/> |
365 |
</Grid>
|
366 |
</telerik:RadExpander.Header>
|
367 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
368 |
ItemsSource="{Binding AliveItems}" |
369 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
370 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
371 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
372 |
<telerik:RadGridView.Columns>
|
373 |
<telerik:GridViewToggleRowDetailsColumn /> |
374 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
375 |
|
376 |
<telerik:GridViewDataColumn Header=" ID " |
377 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
378 |
|
379 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
380 |
<telerik:GridViewDataColumn.CellTemplate>
|
381 |
<DataTemplate>
|
382 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
383 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
384 |
</DataTemplate>
|
385 |
</telerik:GridViewDataColumn.CellTemplate>
|
386 |
</telerik:GridViewDataColumn>
|
387 |
|
388 |
<telerik:GridViewToggleRowDetailsColumn /> |
389 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
390 |
<telerik:GridViewDataColumn Header=" ID " |
391 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
392 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
393 |
<telerik:GridViewDataColumn.CellTemplate>
|
394 |
<DataTemplate>
|
395 |
<telerik:RadButton Content="Click" BorderThickness="0" |
396 |
Background="Transparent" |
397 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
398 |
</DataTemplate>
|
399 |
</telerik:GridViewDataColumn.CellTemplate>
|
400 |
</telerik:GridViewDataColumn>
|
401 |
<telerik:GridViewDataColumn Header="ProjectNO" |
402 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
403 |
<telerik:GridViewDataColumn Header="DocumentID" |
404 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
405 |
<telerik:GridViewDataColumn Header="DocInfoID" |
406 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
407 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
408 |
DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" /> |
409 |
<telerik:GridViewDataColumn Header="Create UserID" |
410 |
DataMemberBinding="{Binding Create_UserID}" Width="*" /> |
411 |
<telerik:GridViewDataColumn Header="ConvertState" |
412 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
413 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
414 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
415 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
416 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
417 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
418 |
NavigateUrlFormatString=" {0}" |
419 |
NavigateUrlMemberPaths="OriginfilePath" |
420 |
Width="2*"> |
421 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
422 |
<DataTemplate>
|
423 |
<TextBlock Text="{Binding FileName}"/> |
424 |
</DataTemplate>
|
425 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
426 |
</telerik:GridViewDynamicHyperlinkColumn>
|
427 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
428 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
429 |
<telerik:GridViewDataColumn Header="CreateTime" |
430 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
431 |
<telerik:GridViewDataColumn Header="StartTime" |
432 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
433 |
<telerik:GridViewDataColumn Header="EndTime" |
434 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
435 |
</telerik:RadGridView.Columns>
|
436 |
</telerik:RadGridView>
|
437 |
</telerik:RadExpander>
|
438 |
|
439 |
</StackPanel>
|
440 |
</Grid>
|
441 |
</Grid>
|
442 |
</UserControl>
|
443 |
|