markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseView.xaml @ 95e7bd84
이력 | 보기 | 이력해설 | 다운로드 (24.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 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 x:Name="commend" Header="Markus " Width="0.5*" > |
141 |
<telerik:GridViewDataColumn.CellTemplate>
|
142 |
<DataTemplate>
|
143 |
<telerik:RadButton Content="Click" BorderThickness="0" |
144 |
Background="Transparent" |
145 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
146 |
</DataTemplate>
|
147 |
</telerik:GridViewDataColumn.CellTemplate>
|
148 |
</telerik:GridViewDataColumn>
|
149 |
<telerik:GridViewDataColumn Header="ProjectNO" |
150 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
151 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
152 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
153 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
154 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
155 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
156 |
NavigateUrlFormatString=" {0}" |
157 |
NavigateUrlMemberPaths="OriginfilePath" |
158 |
Width="2*"> |
159 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
160 |
<DataTemplate>
|
161 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
162 |
</DataTemplate>
|
163 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
164 |
</telerik:GridViewDynamicHyperlinkColumn>
|
165 |
|
166 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
167 |
<telerik:GridViewDataColumn.CellTemplate>
|
168 |
<DataTemplate>
|
169 |
<Grid>
|
170 |
<!--<Grid.ColumnDefinitions>
|
171 |
<ColumnDefinition/>
|
172 |
<ColumnDefinition Width="Auto"/>
|
173 |
</Grid.ColumnDefinitions>-->
|
174 |
<!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
175 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
176 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
177 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
178 |
</telerik:RadButton>
|
179 |
</Grid>
|
180 |
</DataTemplate>
|
181 |
</telerik:GridViewDataColumn.CellTemplate>
|
182 |
</telerik:GridViewDataColumn>
|
183 |
|
184 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" Background="Transparent" |
185 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
186 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
187 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
188 |
</telerik:RadGridView.Columns>
|
189 |
</telerik:RadGridView>
|
190 |
</telerik:RadExpander>
|
191 |
<telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0" |
192 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" |
193 |
VerticalAlignment="Stretch" |
194 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}"> |
195 |
<telerik:RadExpander.Header>
|
196 |
<Grid>
|
197 |
<Grid.ColumnDefinitions>
|
198 |
<ColumnDefinition Width="Auto"/> |
199 |
<ColumnDefinition Width="Auto"/> |
200 |
</Grid.ColumnDefinitions>
|
201 |
<TextBlock Text="RealConvert Items : "/> |
202 |
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/> |
203 |
</Grid>
|
204 |
</telerik:RadExpander.Header>
|
205 |
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
206 |
ItemsSource="{Binding RealConvertSource}" |
207 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
208 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
209 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
210 |
ColumnWidth="*" |
211 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
212 |
<telerik:RadContextMenu.ContextMenu>
|
213 |
<telerik:RadContextMenu>
|
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 |
|
223 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
224 |
<telerik:GridViewDataColumn.CellTemplate>
|
225 |
<DataTemplate>
|
226 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
227 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
228 |
</DataTemplate>
|
229 |
</telerik:GridViewDataColumn.CellTemplate>
|
230 |
</telerik:GridViewDataColumn>
|
231 |
|
232 |
<telerik:GridViewDataColumn Header="ProjectNO" |
233 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
234 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
235 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
236 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
237 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
238 |
<telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
239 |
NavigateUrlFormatString="{}{0}" |
240 |
NavigateUrlMemberPaths="OriginfilePath" |
241 |
Width="2*"> |
242 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
243 |
<DataTemplate>
|
244 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
245 |
</DataTemplate>
|
246 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
247 |
</telerik:GridViewDynamicHyperlinkColumn>
|
248 |
|
249 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
250 |
<telerik:GridViewDataColumn.CellTemplate>
|
251 |
<DataTemplate>
|
252 |
<Grid>
|
253 |
<!--<Grid.ColumnDefinitions>
|
254 |
<ColumnDefinition/>
|
255 |
<ColumnDefinition Width="Auto"/>
|
256 |
</Grid.ColumnDefinitions>-->
|
257 |
<!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
258 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
259 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
260 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
261 |
</telerik:RadButton>
|
262 |
</Grid>
|
263 |
</DataTemplate>
|
264 |
</telerik:GridViewDataColumn.CellTemplate>
|
265 |
</telerik:GridViewDataColumn>
|
266 |
|
267 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" |
268 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
269 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
270 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
271 |
</telerik:RadGridView.Columns>
|
272 |
</telerik:RadGridView>
|
273 |
</telerik:RadExpander>
|
274 |
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" Margin="0,0,0,10" |
275 |
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" |
276 |
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding AliveShow, Mode=TwoWay}"> |
277 |
<telerik:RadExpander.Header>
|
278 |
<Grid>
|
279 |
<Grid.ColumnDefinitions>
|
280 |
<ColumnDefinition Width="Auto"/> |
281 |
<ColumnDefinition Width="Auto"/> |
282 |
<ColumnDefinition Width="2*"/> |
283 |
<ColumnDefinition Width="57*"/> |
284 |
</Grid.ColumnDefinitions>
|
285 |
<TextBlock Text="Alive Items : " Grid.ColumnSpan="2" Margin="0,0,5,0"/> |
286 |
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.ColumnSpan="2" Margin="1,0,28,0"/> |
287 |
</Grid>
|
288 |
</telerik:RadExpander.Header>
|
289 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
290 |
ItemsSource="{Binding AliveItems}" |
291 |
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}" |
292 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
293 |
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" > |
294 |
<telerik:RadGridView.Columns>
|
295 |
<telerik:GridViewToggleRowDetailsColumn /> |
296 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
297 |
|
298 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}"> |
299 |
<telerik:GridViewDataColumn.CellTemplate>
|
300 |
<DataTemplate>
|
301 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
302 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
303 |
</DataTemplate>
|
304 |
</telerik:GridViewDataColumn.CellTemplate>
|
305 |
</telerik:GridViewDataColumn>
|
306 |
|
307 |
<telerik:GridViewDataColumn Header="ProjectNO" |
308 |
DataMemberBinding="{Binding ProjectNumber}" Width="*" /> |
309 |
<telerik:GridViewDataColumn Header="CurrentPageNo" |
310 |
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" /> |
311 |
<telerik:GridViewDataColumn Header="TotalPageNo" |
312 |
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" /> |
313 |
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}" |
314 |
NavigateUrlFormatString="{}{0}" |
315 |
NavigateUrlMemberPaths="OriginfilePath" |
316 |
Width="2*"> |
317 |
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
318 |
<DataTemplate>
|
319 |
<TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/> |
320 |
</DataTemplate>
|
321 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
322 |
</telerik:GridViewDynamicHyperlinkColumn>
|
323 |
|
324 |
<telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
325 |
<telerik:GridViewDataColumn.CellTemplate>
|
326 |
<DataTemplate>
|
327 |
<Grid>
|
328 |
<!--<Grid.ColumnDefinitions>
|
329 |
<ColumnDefinition/>
|
330 |
<ColumnDefinition Width="Auto"/>
|
331 |
</Grid.ColumnDefinitions-->
|
332 |
<!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
|
333 |
<telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" |
334 |
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"> |
335 |
<Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" /> |
336 |
</telerik:RadButton>
|
337 |
</Grid>
|
338 |
</DataTemplate>
|
339 |
</telerik:GridViewDataColumn.CellTemplate>
|
340 |
</telerik:GridViewDataColumn>
|
341 |
<telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True" |
342 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
343 |
<telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True" Background="Transparent" |
344 |
DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
345 |
</telerik:RadGridView.Columns>
|
346 |
</telerik:RadGridView>
|
347 |
</telerik:RadExpander>
|
348 |
</Grid>
|
349 |
</UserControl>
|