프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceController / Markus.Service.StationController / Views / ConvertDocumentDialog.xaml @ ab7fe8c0

이력 | 보기 | 이력해설 | 다운로드 (3.81 KB)

1
<telerik:RadWindow x:Class="Markus.Service.StationController.Views.ConvertDocumentDialog"
2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
        xmlns:local="clr-namespace:Markus.Service.StationController.Views"
8
        xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
9
        xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
10
        Header="Convert Items Excel Export" Background="White"
11
        mc:Ignorable="d"  Height="404" Width="349" telerik:StyleManager.Theme="VisualStudio2013">
12
    <telerik:RadWindow.Resources>
13
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
14
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
15
        </Style>
16
    </telerik:RadWindow.Resources>
17
    <telerik:RadWindow.DataContext>
18
        <VM:ConvertDocumentDialogViewModel/>
19
    </telerik:RadWindow.DataContext>
20
    <Grid>
21
        <Grid.RowDefinitions>
22
            <RowDefinition Height="9*"/>
23
            <RowDefinition Height="*"/>
24
        </Grid.RowDefinitions>
25

    
26
        <Grid>
27
            <Grid.ColumnDefinitions>
28
                <ColumnDefinition Width="145*"/>
29
                <ColumnDefinition Width="198*"/>
30
            </Grid.ColumnDefinitions>
31
            <telerik:RadGridView 
32
                                                         ItemsSource="{Binding Document_Items}"
33
                                                         RowHeight="30" GroupRenderMode="Flat"  VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
34
                                                         SelectionMode="Extended" IsFilteringAllowed="True"
35
                                                         RowIndicatorVisibility="Collapsed" ScrollViewer.CanContentScroll="True"
36
                                                         CanUserFreezeColumns="False"
37
                                                         AutoGenerateColumns="False" Grid.ColumnSpan="2">
38
                <telerik:RadGridView.Columns>
39
                    <telerik:GridViewDataColumn>
40
                        <telerik:GridViewDataColumn.CellTemplate>
41
                            <DataTemplate>
42
                                <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}"
43
                                      HorizontalAlignment="Center"/>
44
                            </DataTemplate>
45
                        </telerik:GridViewDataColumn.CellTemplate>
46
                    </telerik:GridViewDataColumn>
47
                    <telerik:GridViewDataColumn Header="GroupNO" 
48
                                                                                        DataMemberBinding="{Binding Group_NO, Mode=TwoWay}" Width="*" />
49
                    <telerik:GridViewDataColumn Header="DocumentNO" 
50
                                                                                        DataMemberBinding="{Binding Document_NO, Mode=TwoWay}" Width="*" />
51
                    <telerik:GridViewDataColumn Header="DocumentID" 
52
                                                                                        DataMemberBinding="{Binding Document_ID, Mode=TwoWay}" Width="*"  />
53
                    <telerik:GridViewDataColumn Header="DocumnetURL" 
54
                                                                                        DataMemberBinding="{Binding DocumentURL, Mode=TwoWay}" Width="*"  />
55
                    <telerik:GridViewDataColumn Header="Revision" 
56
                                                                                        DataMemberBinding="{Binding Revision, Mode=TwoWay}" Width="*"  />
57
                </telerik:RadGridView.Columns>
58
            </telerik:RadGridView>
59
        </Grid>
60

    
61
        <Grid Grid.Row="1">
62
            <Grid.ColumnDefinitions>
63
                <ColumnDefinition Width="*"/>
64
                <ColumnDefinition Width="*"/>
65
            </Grid.ColumnDefinitions>
66

    
67
            <telerik:RadButton Content=" CONVERT" Command="{Binding DocumentConvertCommand , Mode=TwoWay}" Grid.Column="0" Width="100" Margin="0,0,20,0" Height="24"/>
68
            <telerik:RadButton Content=" 닫   기"  VerticalAlignment="Center" IsCancel="True" Grid.Column="1" Width="100" Margin="0,0,20,0" Height="24"/>
69
        </Grid>
70
    </Grid>
71
</telerik:RadWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)