markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ 31beca73
이력 | 보기 | 이력해설 | 다운로드 (32.9 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 |
<!--<UserControl.DataContext>
|
63 |
<VM:DataBaseItemsModel/>
|
64 |
</UserControl.DataContext>-->
|
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" Height="20" > |
83 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
84 |
<telerik:RadComboBox x:Name="ComboCount" 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 |
<!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>-->
|
91 |
</StackPanel>
|
92 |
|
93 |
|
94 |
<Grid Grid.Row="1"> |
95 |
<Grid.Style>
|
96 |
<Style>
|
97 |
<Setter Property="TextBlock.Margin" Value="20,0,0,0"/> |
98 |
</Style>
|
99 |
</Grid.Style>
|
100 |
<Grid.RowDefinitions>
|
101 |
<RowDefinition /> |
102 |
<RowDefinition /> |
103 |
</Grid.RowDefinitions>
|
104 |
<Grid Grid.Row="0"> |
105 |
<Grid.RowDefinitions>
|
106 |
<RowDefinition /> |
107 |
<RowDefinition /> |
108 |
<RowDefinition /> |
109 |
</Grid.RowDefinitions>
|
110 |
<Grid.ColumnDefinitions>
|
111 |
<ColumnDefinition Width="Auto"/> |
112 |
<ColumnDefinition Width="*" /> |
113 |
<ColumnDefinition Width="10"/> |
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 |
</Grid.ColumnDefinitions>
|
123 |
<TextBlock Text="Project NO " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
124 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1" EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch" |
125 |
TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" |
126 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
127 |
|
128 |
<TextBlock Text="Document ID " Grid.Row="0" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
129 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
130 |
TextMode="PlainText" Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
131 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
132 |
|
133 |
<TextBlock Text="MarkupInfo ID " Grid.Row="0" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
134 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
135 |
TextMode="PlainText" Grid.Row="0" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
136 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
137 |
|
138 |
<TextBlock Text="Docuemnt Name " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
139 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
140 |
TextMode="PlainText" Grid.Row="1" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0" |
141 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
142 |
|
143 |
<TextBlock Text="Docuemnt NO " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
144 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
145 |
TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
146 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
147 |
<TextBlock Text="CreateUser ID " Grid.Row="1" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
148 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="CreateUser ID " Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
149 |
TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
150 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
151 |
<TextBlock Text="DocInfo ID " Grid.Row="0" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
152 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocInfo ID" Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
153 |
TextMode="PlainText" Grid.Row="0" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
154 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
155 |
<TextBlock Text="GROUP NO " Grid.Row="1" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
156 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="GROUP NO" Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
157 |
TextMode="PlainText" Grid.Row="1" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
158 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
159 |
<TextBlock Text="REVISION " Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
160 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="REVISION" Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
161 |
TextMode="PlainText" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" |
162 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
163 |
|
164 |
<TextBlock Text="DOCUMENT_URL " Grid.Row="2" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/> |
165 |
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DOCUMENT_URL" Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
166 |
TextMode="PlainText" Grid.Row="2" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7" |
167 |
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/> |
168 |
</Grid>
|
169 |
|
170 |
<StackPanel Grid.Row="4" Grid.ColumnSpan="11"> |
171 |
<StackPanel Orientation="Horizontal"> |
172 |
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/> |
173 |
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200" |
174 |
InputMode="DateTimePicker" |
175 |
VerticalAlignment="Center" |
176 |
HorizontalAlignment="Stretch" |
177 |
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" > |
178 |
</telerik:RadDateTimePicker>
|
179 |
<!--<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"/>-->
|
180 |
<TextBlock Text=" ~ " VerticalAlignment="Center"/> |
181 |
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200" |
182 |
InputMode="DateTimePicker" HorizontalAlignment="Stretch" |
183 |
VerticalAlignment="Center" |
184 |
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
185 |
Margin="0,1"> |
186 |
</telerik:RadDateTimePicker>
|
187 |
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/> |
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 |
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}" |
216 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
217 |
AutoGenerateColumns="False" |
218 |
ColumnWidth="*" CanUserFreezeColumns="False" |
219 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
220 |
LeftFrozenColumnCount="6" |
221 |
RightFrozenColumnCount="0"> |
222 |
<telerik:RadContextMenu.ContextMenu>
|
223 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
224 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
225 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
226 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
227 |
</telerik:RadContextMenu>
|
228 |
</telerik:RadContextMenu.ContextMenu>
|
229 |
<telerik:RadGridView.Columns>
|
230 |
<telerik:GridViewToggleRowDetailsColumn /> |
231 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
232 |
<telerik:GridViewDataColumn Header=" ID " |
233 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
234 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
235 |
<telerik:GridViewDataColumn.CellTemplate>
|
236 |
<DataTemplate>
|
237 |
<telerik:RadButton Content="Click" BorderThickness="0" |
238 |
Background="Transparent" |
239 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
240 |
</DataTemplate>
|
241 |
</telerik:GridViewDataColumn.CellTemplate>
|
242 |
</telerik:GridViewDataColumn>
|
243 |
<telerik:GridViewDataColumn Header="ProjectNO" |
244 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
245 |
<telerik:GridViewDataColumn Header="DocumentID" |
246 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
247 |
<telerik:GridViewDataColumn Header="DocInfoID" |
248 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
249 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
250 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
251 |
<telerik:GridViewDataColumn Header="Create UserID" |
252 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
253 |
<telerik:GridViewDataColumn Header="ConvertState" |
254 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
255 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
256 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
257 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
258 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
259 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
260 |
NavigateUrlFormatString=" {0}" |
261 |
NavigateUrlMemberPaths="OriginfilePath" |
262 |
Width="2*"> |
263 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
264 |
<DataTemplate>
|
265 |
<TextBlock Text="{Binding FileName}"/> |
266 |
</DataTemplate>
|
267 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
268 |
</telerik:GridViewDynamicHyperlinkColumn>
|
269 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
270 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
271 |
<telerik:GridViewDataColumn Header="CreateTime" |
272 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
273 |
<telerik:GridViewDataColumn Header="StartTime" |
274 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
275 |
<telerik:GridViewDataColumn Header="EndTime" |
276 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
277 |
</telerik:RadGridView.Columns>
|
278 |
</telerik:RadGridView>
|
279 |
</telerik:RadExpander>
|
280 |
|
281 |
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0" |
282 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
283 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
284 |
<telerik:RadExpander.Header>
|
285 |
<Grid>
|
286 |
<Grid.ColumnDefinitions>
|
287 |
<ColumnDefinition Width="Auto"/> |
288 |
<ColumnDefinition Width="Auto"/> |
289 |
</Grid.ColumnDefinitions>
|
290 |
<TextBlock Text="Real FinalPDF Items : "/> |
291 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
292 |
</Grid>
|
293 |
</telerik:RadExpander.Header>
|
294 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
295 |
ItemsSource="{Binding RealConvertSource}" |
296 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
297 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
298 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
299 |
ColumnWidth="*" |
300 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
301 |
<telerik:RadContextMenu.ContextMenu>
|
302 |
<telerik:RadContextMenu>
|
303 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
304 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
305 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
306 |
</telerik:RadContextMenu>
|
307 |
</telerik:RadContextMenu.ContextMenu>
|
308 |
<telerik:RadGridView.Columns>
|
309 |
<telerik:GridViewToggleRowDetailsColumn /> |
310 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
311 |
|
312 |
<telerik:GridViewDataColumn Header=" ID " |
313 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
314 |
|
315 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
316 |
<telerik:GridViewDataColumn.CellTemplate>
|
317 |
<DataTemplate>
|
318 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
319 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
320 |
</DataTemplate>
|
321 |
</telerik:GridViewDataColumn.CellTemplate>
|
322 |
</telerik:GridViewDataColumn>
|
323 |
|
324 |
<telerik:GridViewToggleRowDetailsColumn /> |
325 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
326 |
<telerik:GridViewDataColumn Header=" ID " |
327 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
328 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
329 |
<telerik:GridViewDataColumn.CellTemplate>
|
330 |
<DataTemplate>
|
331 |
<telerik:RadButton Content="Click" BorderThickness="0" |
332 |
Background="Transparent" |
333 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
334 |
</DataTemplate>
|
335 |
</telerik:GridViewDataColumn.CellTemplate>
|
336 |
</telerik:GridViewDataColumn>
|
337 |
<telerik:GridViewDataColumn Header="ProjectNO" |
338 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
339 |
<telerik:GridViewDataColumn Header="DocumentID" |
340 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
341 |
<telerik:GridViewDataColumn Header="DocInfoID" |
342 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
343 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
344 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
345 |
<telerik:GridViewDataColumn Header="Create UserID" |
346 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
347 |
<telerik:GridViewDataColumn Header="ConvertState" |
348 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
349 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
350 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
351 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
352 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
353 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
354 |
NavigateUrlFormatString=" {0}" |
355 |
NavigateUrlMemberPaths="OriginfilePath" |
356 |
Width="2*"> |
357 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
358 |
<DataTemplate>
|
359 |
<TextBlock Text="{Binding FileName}"/> |
360 |
</DataTemplate>
|
361 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
362 |
</telerik:GridViewDynamicHyperlinkColumn>
|
363 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
364 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
365 |
<telerik:GridViewDataColumn Header="CreateTime" |
366 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
367 |
<telerik:GridViewDataColumn Header="StartTime" |
368 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
369 |
<telerik:GridViewDataColumn Header="EndTime" |
370 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
371 |
</telerik:RadGridView.Columns>
|
372 |
</telerik:RadGridView>
|
373 |
</telerik:RadExpander>
|
374 |
|
375 |
<telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" |
376 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
377 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="False"> |
378 |
<telerik:RadExpander.Header>
|
379 |
<Grid>
|
380 |
<Grid.ColumnDefinitions>
|
381 |
<ColumnDefinition Width="Auto"/> |
382 |
<ColumnDefinition Width="Auto"/> |
383 |
</Grid.ColumnDefinitions>
|
384 |
<TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/> |
385 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/> |
386 |
</Grid>
|
387 |
</telerik:RadExpander.Header>
|
388 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
389 |
ItemsSource="{Binding AliveItems}" |
390 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
391 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
392 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
393 |
<telerik:RadGridView.Columns>
|
394 |
<telerik:GridViewToggleRowDetailsColumn /> |
395 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
396 |
|
397 |
<telerik:GridViewDataColumn Header=" ID " |
398 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
399 |
|
400 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
401 |
<telerik:GridViewDataColumn.CellTemplate>
|
402 |
<DataTemplate>
|
403 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
404 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
405 |
</DataTemplate>
|
406 |
</telerik:GridViewDataColumn.CellTemplate>
|
407 |
</telerik:GridViewDataColumn>
|
408 |
|
409 |
<telerik:GridViewToggleRowDetailsColumn /> |
410 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
411 |
<telerik:GridViewDataColumn Header=" ID " |
412 |
DataMemberBinding="{Binding ConvertID}" Width="1.5*" /> |
413 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
414 |
<telerik:GridViewDataColumn.CellTemplate>
|
415 |
<DataTemplate>
|
416 |
<telerik:RadButton Content="Click" BorderThickness="0" |
417 |
Background="Transparent" |
418 |
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
419 |
</DataTemplate>
|
420 |
</telerik:GridViewDataColumn.CellTemplate>
|
421 |
</telerik:GridViewDataColumn>
|
422 |
<telerik:GridViewDataColumn Header="ProjectNO" |
423 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
424 |
<telerik:GridViewDataColumn Header="DocumentID" |
425 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
426 |
<telerik:GridViewDataColumn Header="DocInfoID" |
427 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
428 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
429 |
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" /> |
430 |
<telerik:GridViewDataColumn Header="Create UserID" |
431 |
DataMemberBinding="{Binding Create_User_ID}" Width="*" /> |
432 |
<telerik:GridViewDataColumn Header="ConvertState" |
433 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
434 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
435 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
436 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
437 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
438 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
439 |
NavigateUrlFormatString=" {0}" |
440 |
NavigateUrlMemberPaths="OriginfilePath" |
441 |
Width="2*"> |
442 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
443 |
<DataTemplate>
|
444 |
<TextBlock Text="{Binding FileName}"/> |
445 |
</DataTemplate>
|
446 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
447 |
</telerik:GridViewDynamicHyperlinkColumn>
|
448 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
449 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
450 |
<telerik:GridViewDataColumn Header="CreateTime" |
451 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
452 |
<telerik:GridViewDataColumn Header="StartTime" |
453 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
454 |
<telerik:GridViewDataColumn Header="EndTime" |
455 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
456 |
</telerik:RadGridView.Columns>
|
457 |
</telerik:RadGridView>
|
458 |
</telerik:RadExpander>
|
459 |
|
460 |
</Grid>
|
461 |
</UserControl>
|
462 |
|