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