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