프로젝트

일반

사용자정보

개정판 e139272d

IDe139272d64cf7c5fa830020a0fe9867123019f76
상위 c7955b40
하위 ab3ac9b2

semi 이(가) 4년 이상 전에 추가함

ProjectNoFilter Combobox변경

Change-Id: Ib63ffc94500267620556a1695cf85e3f65ddd15f

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml
9 9
             xmlns:Data="clr-namespace:Markus.Service.StationController.Data"  
10 10
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
11 11
             xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DataBaseView"
12
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource DataBaseItemsModel}" 
13
    d:DesignHeight="450" d:DesignWidth="1000">
12
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource DataBaseItemsModel}" d:DesignHeight="450" d:DesignWidth="1000">
14 13
    <UserControl.Resources>
15 14
        <Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
16 15
            <Setter Property="Margin" Value="0"/>
......
32 31
            <Setter Property="Margin" Value="5,5,0,0"/>
33 32
            <Setter Property="VerticalAlignment" Value="Center"/>
34 33
            <Setter Property="VerticalContentAlignment" Value="Center"/>
35
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
34
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
35
            <Setter Property="HorizontalAlignment" Value="Stretch"/>
36 36
            <Setter Property="Foreground" Value="Black"/>
37 37
            <Setter Property="Background" Value="Transparent"/>
38 38
            <Setter Property="BorderBrush" Value="Transparent"/>
......
41 41
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
42 42
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
43 43
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
44
            <Setter Property="TextBlock.HorizontalAlignment" Value="Stretch"/>
44 45
            <Setter Property="Template">
45 46
                <Setter.Value>
46
                    <ControlTemplate TargetType="{x:Type TextBox}">
47
                    <ControlTemplate TargetType="{x:Type TextBox}" >
47 48
                        <Border x:Name="Bd" 
48 49
                    BorderThickness="{TemplateBinding BorderThickness}" 
49 50
                    SnapsToDevicePixels="true">
50
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
51
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" 
51 52
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
52 53
                        </Border>
53 54
                    </ControlTemplate>
54 55
                </Setter.Value>
55 56
            </Setter>
56 57
        </Style>
57
        <DataTemplate x:Key="borderedTemplate">
58
            <Border BorderBrush="Transparent" BorderThickness="0"  Background="Transparent" >
59
                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" >
60
                </TextBlock>
58
        <!--<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>
61 67
            </Border>
62
        </DataTemplate>
68
        </DataTemplate>-->
69
        
63 70
        <VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/>
64 71
        <DataTemplate x:Key="RowDetailsTemplate">
65 72
            <local:DataBaseViewInfo />
......
179 186
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"  
180 187
											DataMemberBinding="{Binding ConvertPath}" Width="2.5*" >
181 188
                    </telerik:GridViewDataColumn>-->
182
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
189
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="2.5*">
190
                        <!--Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}"-->
183 191
                        <telerik:GridViewDataColumn.CellTemplate>
184
                            <DataTemplate >
185
                                <StackPanel Orientation="Horizontal">
186
                                    <TextBox Text="{Binding ConvertPath}" Background="Transparent" BorderThickness="0" IsReadOnly="True" Foreground="Black" />
187
                                    <telerik:RadButton BorderThickness="0" 
188
                                                   Background="Transparent"
192
                            <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"
189 196
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
190 197
                                        <Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
191 198
                                    </telerik:RadButton>
......
194 201
                        </telerik:GridViewDataColumn.CellTemplate>
195 202
                    </telerik:GridViewDataColumn>
196 203

  
197
                    <telerik:GridViewDataColumn Header="CreateTime" Background="Transparent"  IsReadOnly="True"
204
                    <telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True"   Background="Transparent" 
198 205
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
199
                    <telerik:GridViewDataColumn Header="StartTime" Background="Transparent" IsReadOnly="True"
206
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"  Background="Transparent" 
200 207
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
201
                    <telerik:GridViewDataColumn Header="EndTime" Background="Transparent"  IsReadOnly="True"
208
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True" Background="Transparent" 
202 209
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
203 210
                </telerik:RadGridView.Columns>
204 211
            </telerik:RadGridView>
......
270 277
                    </telerik:GridViewDynamicHyperlinkColumn>
271 278
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath" 
272 279
											DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
273
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
280
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
274 281
                        <telerik:GridViewDataColumn.CellTemplate>
275 282
                            <DataTemplate >
276 283
                                <StackPanel Orientation="Horizontal">
......
284 291
                            </DataTemplate>
285 292
                        </telerik:GridViewDataColumn.CellTemplate>
286 293
                    </telerik:GridViewDataColumn>
287
                    <telerik:GridViewDataColumn Header="CreateTime"
294
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
288 295
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
289
                    <telerik:GridViewDataColumn Header="StartTime"
296
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"
290 297
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
291
                    <telerik:GridViewDataColumn Header="EndTime"
298
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True"
292 299
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
293 300
                </telerik:RadGridView.Columns>
294 301
            </telerik:RadGridView>
......
350 357
                    </telerik:GridViewDynamicHyperlinkColumn>
351 358
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath" 
352 359
											DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
353
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
360
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
354 361
                        <telerik:GridViewDataColumn.CellTemplate>
355 362
                            <DataTemplate >
356 363
                                <StackPanel Orientation="Horizontal">
......
364 371
                            </DataTemplate>
365 372
                        </telerik:GridViewDataColumn.CellTemplate>
366 373
                    </telerik:GridViewDataColumn>
367
                    <telerik:GridViewDataColumn Header="CreateTime"
374
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
368 375
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
369
                    <telerik:GridViewDataColumn Header="StartTime"
376
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"
370 377
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
371
                    <telerik:GridViewDataColumn Header="EndTime"
378
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True"
372 379
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
373 380
                </telerik:RadGridView.Columns>
374 381
            </telerik:RadGridView>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)