개정판 5feff9f0
마지막 정리
Change-Id: I7427bed974c03eaad1c7910df561e77c49b37529
ConvertService/ServiceBase/Markus.Service.StationController/Views/FinalPDFView.xaml | ||
---|---|---|
52 | 52 |
</Setter.Value> |
53 | 53 |
</Setter> |
54 | 54 |
</Style> |
55 |
|
|
55 |
|
|
56 | 56 |
<VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/> |
57 | 57 |
<DataTemplate x:Key="RowDetailsTemplate"> |
58 | 58 |
<local:FinalPDFInfo /> |
... | ... | |
84 | 84 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
85 | 85 |
<!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>--> |
86 | 86 |
</StackPanel> |
87 |
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
|
88 |
<Grid.ColumnDefinitions> |
|
89 |
<ColumnDefinition Width="387*"/> |
|
90 |
<ColumnDefinition Width="13*"/> |
|
91 |
</Grid.ColumnDefinitions> |
|
87 |
<Grid HorizontalAlignment="Left" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" > |
|
92 | 88 |
<Grid.RowDefinitions> |
93 |
<RowDefinition/> |
|
94 |
<RowDefinition/> |
|
95 |
<RowDefinition/> |
|
89 |
<RowDefinition Height="Auto"/>
|
|
90 |
<RowDefinition Height="Auto"/>
|
|
91 |
<RowDefinition Height="Auto"/>
|
|
96 | 92 |
</Grid.RowDefinitions> |
97 |
|
|
98 | 93 |
<Grid Grid.Row="0"> |
99 | 94 |
<Grid.Style> |
100 | 95 |
<Style> |
... | ... | |
185 | 180 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
186 | 181 |
</StackPanel> |
187 | 182 |
|
188 |
<StackPanel Orientation="Vertical" MaxHeight="800" Grid.Row="2"> |
|
189 |
<!--<StackPanel Orientation="Vertical">--> |
|
190 |
|
|
191 |
<!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
|
192 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
193 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
194 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
|
195 |
</StackPanel>--> |
|
196 |
<!--</StackPanel>--> |
|
197 |
|
|
198 |
<DockPanel LastChildFill="True"> |
|
199 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="1" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}" |
|
183 |
<Grid Grid.Row="2"> |
|
184 |
<Grid.RowDefinitions> |
|
185 |
<RowDefinition Height="Auto"/> |
|
186 |
<RowDefinition Height="Auto"/> |
|
187 |
<RowDefinition Height="Auto"/> |
|
188 |
</Grid.RowDefinitions> |
|
189 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}" |
|
200 | 190 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
201 | 191 |
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>
|
|
192 |
<telerik:RadExpander.Header> |
|
193 |
<Grid> |
|
194 |
<Grid.ColumnDefinitions> |
|
195 |
<ColumnDefinition Width="Auto"/> |
|
196 |
<ColumnDefinition Width="Auto"/> |
|
197 |
</Grid.ColumnDefinitions> |
|
198 |
<TextBlock Text="Final PDF Items : "/> |
|
199 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/> |
|
200 |
</Grid> |
|
201 |
</telerik:RadExpander.Header> |
|
212 | 202 |
|
213 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
203 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
|
214 | 204 |
ItemsSource="{Binding FilterConvertSourceView}" |
215 | 205 |
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}" |
216 | 206 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
... | ... | |
219 | 209 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
220 | 210 |
LeftFrozenColumnCount="6" |
221 | 211 |
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 "
|
|
212 |
<telerik:RadContextMenu.ContextMenu> |
|
213 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
|
214 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
|
215 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
|
216 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
|
217 |
</telerik:RadContextMenu> |
|
218 |
</telerik:RadContextMenu.ContextMenu> |
|
219 |
<telerik:RadGridView.Columns> |
|
220 |
<telerik:GridViewToggleRowDetailsColumn /> |
|
221 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
|
222 |
<telerik:GridViewDataColumn Header=" ID " |
|
233 | 223 |
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"
|
|
224 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
|
225 |
<telerik:GridViewDataColumn.CellTemplate> |
|
226 |
<DataTemplate> |
|
227 |
<telerik:RadButton Content="Click" BorderThickness="0" |
|
238 | 228 |
Background="Transparent" |
239 | 229 |
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"
|
|
230 |
</DataTemplate> |
|
231 |
</telerik:GridViewDataColumn.CellTemplate> |
|
232 |
</telerik:GridViewDataColumn> |
|
233 |
<telerik:GridViewDataColumn Header="ProjectNO" |
|
244 | 234 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
245 |
<telerik:GridViewDataColumn Header="DocumentID"
|
|
235 |
<telerik:GridViewDataColumn Header="DocumentID" |
|
246 | 236 |
DataMemberBinding="{Binding DocumentID}" Width="*" /> |
247 |
<telerik:GridViewDataColumn Header="DocInfoID"
|
|
237 |
<telerik:GridViewDataColumn Header="DocInfoID" |
|
248 | 238 |
DataMemberBinding="{Binding DocInfo_ID}" Width="*" /> |
249 |
<telerik:GridViewDataColumn Header="MarkusInfoID"
|
|
239 |
<telerik:GridViewDataColumn Header="MarkusInfoID" |
|
250 | 240 |
DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" /> |
251 |
<telerik:GridViewDataColumn Header="Create UserID"
|
|
241 |
<telerik:GridViewDataColumn Header="Create UserID" |
|
252 | 242 |
DataMemberBinding="{Binding Create_UserID}" Width="*" /> |
253 |
<telerik:GridViewDataColumn Header="ConvertState"
|
|
243 |
<telerik:GridViewDataColumn Header="ConvertState" |
|
254 | 244 |
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" /> |
255 |
<telerik:GridViewDataColumn Header="CurrentPageNo"
|
|
245 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
|
256 | 246 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
257 |
<telerik:GridViewDataColumn Header="TotalPageNo"
|
|
247 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
|
258 | 248 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
259 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
|
|
249 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" |
|
260 | 250 |
NavigateUrlFormatString=" {0}" |
261 | 251 |
NavigateUrlMemberPaths="OriginfilePath" |
262 | 252 |
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"
|
|
253 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
|
254 |
<DataTemplate> |
|
255 |
<TextBlock Text="{Binding FileName}"/> |
|
256 |
</DataTemplate> |
|
257 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
|
258 |
</telerik:GridViewDynamicHyperlinkColumn> |
|
259 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
|
270 | 260 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
271 |
<telerik:GridViewDataColumn Header="CreateTime"
|
|
261 |
<telerik:GridViewDataColumn Header="CreateTime" |
|
272 | 262 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
273 |
<telerik:GridViewDataColumn Header="StartTime"
|
|
263 |
<telerik:GridViewDataColumn Header="StartTime" |
|
274 | 264 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
275 |
<telerik:GridViewDataColumn Header="EndTime"
|
|
265 |
<telerik:GridViewDataColumn Header="EndTime" |
|
276 | 266 |
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 |
</DockPanel> |
|
267 |
</telerik:RadGridView.Columns> |
|
268 |
</telerik:RadGridView> |
|
269 |
</telerik:RadExpander> |
|
281 | 270 |
|
282 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding RealConvert_Height,Mode=OneWay}"
|
|
271 |
<telerik:RadExpander Grid.Row="1" ExpandDirection="Down" BorderThickness="0" MaxHeight="{Binding RealConvert_Height,Mode=OneWay}"
|
|
283 | 272 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
284 | 273 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
285 | 274 |
<telerik:RadExpander.Header> |
... | ... | |
373 | 362 |
</telerik:RadGridView> |
374 | 363 |
</telerik:RadExpander> |
375 | 364 |
|
376 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch"
|
|
365 |
<telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch"
|
|
377 | 366 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" MaxHeight="{Binding Alive_Height,Mode=OneWay}" |
378 | 367 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="False"> |
379 | 368 |
<telerik:RadExpander.Header> |
... | ... | |
461 | 450 |
</telerik:RadGridView.Columns> |
462 | 451 |
</telerik:RadGridView> |
463 | 452 |
</telerik:RadExpander> |
464 |
|
|
465 |
</StackPanel> |
|
453 |
</Grid> |
|
466 | 454 |
</Grid> |
467 | 455 |
</Grid> |
468 | 456 |
</UserControl> |
내보내기 Unified diff