프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseView.xaml @ 765fe3f1

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