markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseView.xaml @ f5ec88b8
이력 | 보기 | 이력해설 | 다운로드 (27.4 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:Data="clr-namespace:Markus.Service.StationController.Data" |
10 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
11 |
xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DataBaseView" |
12 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource DataBaseItemsModel}" 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 telerik:GridViewCell}" x:Key="OriginalFileGridViewCell"> |
28 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
29 |
</Style>
|
30 |
<Style TargetType="{x:Type controls:RowIndexColumn}"> |
31 |
<Setter Property="TextAlignment" Value="Center"/> |
32 |
</Style>
|
33 |
<Style TargetType="{x:Type TextBox}"> |
34 |
<Setter Property="Margin" Value="5,5,0,0"/> |
35 |
<Setter Property="VerticalAlignment" Value="Center"/> |
36 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
37 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
38 |
<Setter Property="HorizontalAlignment" Value="Stretch"/> |
39 |
<Setter Property="Foreground" Value="Black"/> |
40 |
<Setter Property="Background" Value="Transparent"/> |
41 |
<Setter Property="BorderBrush" Value="Transparent"/> |
42 |
<Setter Property="BorderThickness" Value="0"/> |
43 |
<Setter Property="IsReadOnly" Value="true"/> |
44 |
<Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
45 |
<Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> |
46 |
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/> |
47 |
<Setter Property="TextBlock.HorizontalAlignment" Value="Stretch"/> |
48 |
<Setter Property="Template"> |
49 |
<Setter.Value>
|
50 |
<ControlTemplate TargetType="{x:Type TextBox}" > |
51 |
<Border x:Name="Bd" |
52 |
BorderThickness="{TemplateBinding BorderThickness}" |
53 |
SnapsToDevicePixels="true"> |
54 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
55 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
56 |
</Border>
|
57 |
</ControlTemplate>
|
58 |
</Setter.Value>
|
59 |
</Setter>
|
60 |
</Style>
|
61 |
<VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/> |
62 |
<DataTemplate x:Key="RowDetailsTemplate"> |
63 |
<local:DataBaseViewInfo /> |
64 |
</DataTemplate>
|
65 |
</UserControl.Resources>
|
66 |
<i:Interaction.Triggers>
|
67 |
<i:EventTrigger EventName="Loaded"> |
68 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
69 |
</i:EventTrigger>
|
70 |
<i:EventTrigger EventName="Unloaded"> |
71 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
72 |
</i:EventTrigger>
|
73 |
</i:Interaction.Triggers>
|
74 |
<Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="top" > |
75 |
<Grid.RowDefinitions>
|
76 |
<RowDefinition Height="Auto"/> |
77 |
<RowDefinition Height="Auto"/> |
78 |
<RowDefinition Height="*"/> |
79 |
<RowDefinition Height="Auto"/> |
80 |
<RowDefinition Height="Auto"/> |
81 |
</Grid.RowDefinitions>
|
82 |
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0" > |
83 |
<TextBlock Text="Display Count : " VerticalAlignment="Center"/> |
84 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember" |
85 |
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" /> |
86 |
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/> |
87 |
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="{Binding SelectedInt, Mode=TwoWay}" |
88 |
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/> |
89 |
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/> |
90 |
</StackPanel>
|
91 |
<StackPanel Orientation="Vertical" Grid.Row="1"> |
92 |
<controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}" |
93 |
Docuemnt_Name="{Binding Document_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}" |
94 |
Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}" Document_URL="{Binding DOCUMENT_URLFilter, Mode=TwoWay}"/> |
95 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
96 |
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConvertAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
97 |
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
98 |
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/> |
99 |
</StackPanel>
|
100 |
</StackPanel>
|
101 |
|
102 |
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="2" |
103 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True" |
104 |
telerik:AnimationManager.IsAnimationEnabled="False" > |
105 |
<telerik:RadExpander.Header>
|
106 |
<Grid>
|
107 |
<Grid.ColumnDefinitions>
|
108 |
<ColumnDefinition Width="Auto"/> |
109 |
<ColumnDefinition Width="Auto"/> |
110 |
</Grid.ColumnDefinitions>
|
111 |
<TextBlock Text="DataBase Items : "/> |
112 |
<TextBlock Text="{Binding FilterConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
113 |
</Grid>
|
114 |
</telerik:RadExpander.Header>
|
115 |
|
116 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
117 |
ItemsSource="{Binding FilterConvertSourceView}" |
118 |
SelectionMode="Extended" |
119 |
SelectionUnit="FullRow" |
120 |
CanUserSelect ="True" |
121 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
122 |
AutoGenerateColumns="False" |
123 |
ColumnWidth="*" CanUserFreezeColumns="False" |
124 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
125 |
LeftFrozenColumnCount="6" |
126 |
RightFrozenColumnCount="0"> |
127 |
<i:Interaction.Behaviors>
|
128 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource DataBaseItemsModel}}" /> |
129 |
</i:Interaction.Behaviors>
|
130 |
<telerik:RadContextMenu.ContextMenu>
|
131 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
132 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
133 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
134 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
135 |
</telerik:RadContextMenu>
|
136 |
</telerik:RadContextMenu.ContextMenu>
|
137 |
<telerik:RadGridView.Columns>
|
138 |
<telerik:GridViewToggleRowDetailsColumn /> |
139 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
140 |
<telerik:GridViewDataColumn Header="Convert ID" |
141 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
142 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" > |
143 |
<telerik:GridViewDataColumn.CellTemplate>
|
144 |
<DataTemplate>
|
145 |
<telerik:RadButton Content="Click" BorderThickness="0" |
146 |
Background="Transparent" |
147 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
148 |
</DataTemplate>
|
149 |
</telerik:GridViewDataColumn.CellTemplate>
|
150 |
</telerik:GridViewDataColumn>
|
151 |
<telerik:GridViewDataColumn Header="ProjectNO" |
152 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
153 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
154 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
155 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
156 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
157 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
158 |
NavigateUrlFormatString=" {0}" |
159 |
NavigateUrlMemberPaths="OriginfilePath" |
160 |
Width="2*"> |
161 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
162 |
<DataTemplate>
|
163 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
164 |
</DataTemplate>
|
165 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
166 |
</telerik:GridViewDynamicHyperlinkColumn>
|
167 |
|
168 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
169 |
<telerik:GridViewDataColumn.CellTemplate>
|
170 |
<DataTemplate>
|
171 |
<Grid>
|
172 |
<Grid.ColumnDefinitions>
|
173 |
<ColumnDefinition/> |
174 |
<ColumnDefinition Width="Auto"/> |
175 |
</Grid.ColumnDefinitions>
|
176 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
177 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1" |
178 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
179 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
180 |
</telerik:RadButton>
|
181 |
</Grid>
|
182 |
</DataTemplate>
|
183 |
</telerik:GridViewDataColumn.CellTemplate>
|
184 |
</telerik:GridViewDataColumn>
|
185 |
|
186 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" Background="Transparent" |
187 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
188 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
189 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
190 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
191 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
192 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
193 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
194 |
</telerik:RadGridView.Columns>
|
195 |
</telerik:RadGridView>
|
196 |
</telerik:RadExpander>
|
197 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" |
198 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" |
199 |
VerticalAlignment="Stretch" |
200 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
201 |
<telerik:RadExpander.Header>
|
202 |
<Grid>
|
203 |
<Grid.ColumnDefinitions>
|
204 |
<ColumnDefinition Width="Auto"/> |
205 |
<ColumnDefinition Width="Auto"/> |
206 |
</Grid.ColumnDefinitions>
|
207 |
<TextBlock Text="RealConvert Items : "/> |
208 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
209 |
</Grid>
|
210 |
</telerik:RadExpander.Header>
|
211 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
212 |
ItemsSource="{Binding RealConvertSource}" |
213 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
214 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
215 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
216 |
ColumnWidth="*" |
217 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
218 |
<telerik:RadContextMenu.ContextMenu>
|
219 |
<telerik:RadContextMenu>
|
220 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
221 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
222 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
223 |
<telerik:RadMenuItem Header="Stop Process" Command="{Binding Stop_ProcessCommand}"/> |
224 |
</telerik:RadContextMenu>
|
225 |
</telerik:RadContextMenu.ContextMenu>
|
226 |
<telerik:RadGridView.Columns>
|
227 |
<telerik:GridViewToggleRowDetailsColumn /> |
228 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
229 |
|
230 |
<telerik:GridViewDataColumn Header="Convert ID" |
231 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
232 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
233 |
<telerik:GridViewDataColumn.CellTemplate>
|
234 |
<DataTemplate>
|
235 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
236 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
237 |
</DataTemplate>
|
238 |
</telerik:GridViewDataColumn.CellTemplate>
|
239 |
</telerik:GridViewDataColumn>
|
240 |
|
241 |
<telerik:GridViewDataColumn Header="ProjectNO" |
242 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
243 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
244 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
245 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
246 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
247 |
<telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
248 |
NavigateUrlFormatString="{}{0}" |
249 |
NavigateUrlMemberPaths="OriginfilePath" |
250 |
Width="2*"> |
251 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
252 |
<DataTemplate>
|
253 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
254 |
</DataTemplate>
|
255 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
256 |
</telerik:GridViewDynamicHyperlinkColumn>
|
257 |
|
258 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
259 |
<telerik:GridViewDataColumn.CellTemplate>
|
260 |
<DataTemplate>
|
261 |
<Grid>
|
262 |
<Grid.ColumnDefinitions>
|
263 |
<ColumnDefinition/> |
264 |
<ColumnDefinition Width="Auto"/> |
265 |
</Grid.ColumnDefinitions>
|
266 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
267 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1" |
268 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
269 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
270 |
</telerik:RadButton>
|
271 |
</Grid>
|
272 |
</DataTemplate>
|
273 |
</telerik:GridViewDataColumn.CellTemplate>
|
274 |
</telerik:GridViewDataColumn>
|
275 |
|
276 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" |
277 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
278 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
279 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
280 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
281 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
282 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
283 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
284 |
</telerik:RadGridView.Columns>
|
285 |
</telerik:RadGridView>
|
286 |
</telerik:RadExpander>
|
287 |
|
288 |
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" Margin="0,0,0,10" |
289 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
290 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding AliveShow, Mode=TwoWay}"> |
291 |
<telerik:RadExpander.Header>
|
292 |
<Grid>
|
293 |
<Grid.ColumnDefinitions>
|
294 |
<ColumnDefinition Width="Auto"/> |
295 |
<ColumnDefinition Width="Auto"/> |
296 |
<ColumnDefinition Width="2*"/> |
297 |
<ColumnDefinition Width="57*"/> |
298 |
</Grid.ColumnDefinitions>
|
299 |
<TextBlock Text="Alive Items : " Margin="0,0,5,0"/> |
300 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.ColumnSpan="2" Margin="1,0,28,0"/> |
301 |
</Grid>
|
302 |
</telerik:RadExpander.Header>
|
303 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
304 |
ItemsSource="{Binding AliveItems}" |
305 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
306 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
307 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
308 |
<telerik:RadContextMenu.ContextMenu>
|
309 |
<telerik:RadContextMenu>
|
310 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
311 |
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/> |
312 |
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/> |
313 |
<telerik:RadMenuItem Header="Stop Process" Command="{Binding Stop_ProcessCommand}"/> |
314 |
</telerik:RadContextMenu>
|
315 |
</telerik:RadContextMenu.ContextMenu>
|
316 |
<telerik:RadGridView.Columns>
|
317 |
<telerik:GridViewToggleRowDetailsColumn /> |
318 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
319 |
<telerik:GridViewDataColumn Header="Convert ID" |
320 |
DataMemberBinding="{Binding ConvertID}" Width="*" /> |
321 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
322 |
<telerik:GridViewDataColumn.CellTemplate>
|
323 |
<DataTemplate>
|
324 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
325 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
326 |
</DataTemplate>
|
327 |
</telerik:GridViewDataColumn.CellTemplate>
|
328 |
</telerik:GridViewDataColumn>
|
329 |
|
330 |
<telerik:GridViewDataColumn Header="ProjectNO" |
331 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
332 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
333 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
334 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
335 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
336 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
337 |
NavigateUrlFormatString="{}{0}" |
338 |
NavigateUrlMemberPaths="OriginfilePath" |
339 |
Width="2*"> |
340 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
341 |
<DataTemplate>
|
342 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
343 |
</DataTemplate>
|
344 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
345 |
</telerik:GridViewDynamicHyperlinkColumn>
|
346 |
|
347 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
348 |
<telerik:GridViewDataColumn.CellTemplate>
|
349 |
<DataTemplate>
|
350 |
<Grid>
|
351 |
<Grid.ColumnDefinitions>
|
352 |
<ColumnDefinition/> |
353 |
<ColumnDefinition Width="Auto"/> |
354 |
</Grid.ColumnDefinitions>
|
355 |
<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/> |
356 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1" |
357 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
358 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
359 |
</telerik:RadButton>
|
360 |
</Grid>
|
361 |
</DataTemplate>
|
362 |
</telerik:GridViewDataColumn.CellTemplate>
|
363 |
</telerik:GridViewDataColumn>
|
364 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" |
365 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
366 |
<telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True" Background="Transparent" |
367 |
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
368 |
<telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True" Background="Transparent" |
369 |
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
370 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
371 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
372 |
</telerik:RadGridView.Columns>
|
373 |
</telerik:RadGridView>
|
374 |
</telerik:RadExpander>
|
375 |
</Grid>
|
376 |
</UserControl>
|