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