프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceController / Markus.Service.StationController / Views / MarkupCheckView.xaml @ 5532bcc0

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

1 919dee1b semi
<telerik:RadWindow x:Class="Markus.Service.StationController.Views.MarkupCheckView"
2
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
3
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
4
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6
        xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
7
        xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
8
        xmlns:local="clr-namespace:Markus.Service.StationController.Views"
9
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
10
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
11
        Background="White" DataContext="{DynamicResource Markup_CheckViewModel}"  telerik:StyleManager.Theme="VisualStudio2013"
12
        Header="Markup_Check" d:DesignHeight="450" d:DesignWidth="1000" mc:Ignorable="d">
13
    <telerik:RadWindow.Resources>
14
        <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
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
21
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
22
        </Style>
23
        <VM:Markup_CheckViewModel x:Key ="Markup_CheckViewModel"/>
24
        <DataTemplate x:Key="RowDetailsTemplate">
25
            <local:FinalPDFInfo />
26
        </DataTemplate>
27
    </telerik:RadWindow.Resources>
28
    <i:Interaction.Triggers>
29
        <i:EventTrigger  EventName="Loaded">
30
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
31
        </i:EventTrigger>
32
        <i:EventTrigger  EventName="Unloaded">
33
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
34
        </i:EventTrigger>
35
    </i:Interaction.Triggers>
36
    <Grid>
37
        <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
38
                                                         ItemsSource="{Binding SourceView}" 
39
                             SelectionMode="Extended"
40
                             SelectionUnit="FullRow"
41
                             CanUserSelect ="True"
42
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
43
                                                         AutoGenerateColumns="False"
44
                             ColumnWidth="*" CanUserFreezeColumns="False"
45
                             Grid.Row="5"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
46
                             LeftFrozenColumnCount="6" 
47
                             RightFrozenColumnCount="0">
48
            <i:Interaction.Behaviors>
49
                <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList}" />
50
            </i:Interaction.Behaviors>
51
            <telerik:RadGridView.Columns>
52
                <telerik:GridViewToggleRowDetailsColumn />
53
                <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
54
55
                <telerik:GridViewDataColumn Header="Convert ID" 
56
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
57
                <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
58
                    <telerik:GridViewDataColumn.CellTemplate>
59
                        <DataTemplate>
60
                            <telerik:RadButton Content="Click" BorderThickness="0"
61
                                                   Background="Transparent"
62
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource Markup_CheckViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
63
                        </DataTemplate>
64
                    </telerik:GridViewDataColumn.CellTemplate>
65
                </telerik:GridViewDataColumn>
66
                <telerik:GridViewDataColumn Header="ProjectNO" 
67
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
68
                <telerik:GridViewDataColumn Header="DocumentID"
69
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
70
                <telerik:GridViewDataColumn Header="ConvertState"
71
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
72
                <telerik:GridViewDataColumn Header="DocInfoID"
73
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
74
                <telerik:GridViewDataColumn Header="MarkusInfoID"
75
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
76
                <telerik:GridViewDataColumn Header="Create UserID"
77
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
78
                <telerik:GridViewDataColumn Header="CurrentPageNo"
79
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
80
                <telerik:GridViewDataColumn Header="TotalPageNo"
81
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
82
                <telerik:GridViewDataColumn Header="Merged PDF " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
83
                    <telerik:GridViewDataColumn.CellTemplate>
84
                        <DataTemplate>
85
                            <telerik:RadButton Content="Click" BorderThickness="0"
86
                                                   Background="Transparent"
87
                                                   Command="{Binding MergedPDFCommand, Source={StaticResource Markup_CheckViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
88
                        </DataTemplate>
89
                    </telerik:GridViewDataColumn.CellTemplate>
90
                </telerik:GridViewDataColumn>
91
92
                <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
93
                                                        NavigateUrlFormatString=" {0}"
94
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
95
                                                                                                                Width="2*">
96
                    <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
97
                        <DataTemplate>
98
                            <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
99
                        </DataTemplate>
100
                    </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
101
                </telerik:GridViewDynamicHyperlinkColumn>
102
103
                <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
104
                    <telerik:GridViewDataColumn.CellTemplate>
105
                        <DataTemplate>
106
                            <Grid>
107
                                <Grid.ColumnDefinitions>
108
                                    <ColumnDefinition/>
109
                                    <ColumnDefinition Width="Auto"/>
110
                                </Grid.ColumnDefinitions>
111
                                <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
112
                                <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
113
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource Markup_CheckViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
114
                                    <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
115
                                </telerik:RadButton>
116
                            </Grid>
117
                        </DataTemplate>
118
                    </telerik:GridViewDataColumn.CellTemplate>
119
                </telerik:GridViewDataColumn>
120
                <telerik:GridViewDataColumn Header="CreateTime" 
121
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
122
                <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
123
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
124
                <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
125
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
126
                <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
127
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
128
            </telerik:RadGridView.Columns>
129
        </telerik:RadGridView>
130
    </Grid>
131
</telerik:RadWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)