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