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