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