프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFViewInfo.xaml @ 5feff9f0

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

1
<UserControl x:Class="Markus.Service.StationController.Views.FinalPDFInfo"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             xmlns:local="clr-namespace:Markus.Service.StationController.Views"
7
             mc:Ignorable="d" Background="White" d:DesignHeight="450" d:DesignWidth="800">
8
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"  VerticalAlignment="Stretch">
9
        <Grid.RowDefinitions>
10
            <RowDefinition/>
11
            <RowDefinition/>
12
        </Grid.RowDefinitions>
13
        <Grid.Resources>
14
            <Style TargetType="{x:Type TextBox}">
15
                <Setter Property="Margin" Value="5,5,0,0"/>
16
                <Setter Property="VerticalAlignment" Value="Center"/>
17
                <Setter Property="HorizontalContentAlignment" Value="Left"/>
18
                <Setter Property="Foreground" Value="Black"/>
19
                <Setter Property="Background" Value="Transparent"/>
20
                <Setter Property="BorderBrush" Value="Transparent"/>
21
                <Setter Property="BorderThickness" Value="0"/>
22
                <Setter Property="IsReadOnly" Value="true"/>
23
                <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
24
                <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
25
                <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
26
                <Setter Property="Template">
27
                    <Setter.Value>
28
                        <ControlTemplate TargetType="{x:Type TextBox}">
29
                            <Border x:Name="Bd" 
30
                    BorderThickness="{TemplateBinding BorderThickness}" 
31
                    SnapsToDevicePixels="true">
32
                                <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
33
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
34
                            </Border>
35
                        </ControlTemplate>
36
                    </Setter.Value>
37
                </Setter>
38
            </Style>
39
            <Style TargetType="DataGridCell">
40
                <Setter Property="Margin" Value="10"/>
41
            </Style>
42
            <Style TargetType="TextBlock">
43
                <Setter Property="FontWeight" Value="Bold"/>
44
                <Setter Property="Margin" Value="5,5,0,0"/>
45
                <Setter Property="HorizontalAlignment" Value="Left"/>
46
                <Setter Property="VerticalAlignment" Value="Center"/>
47
            </Style>
48
        </Grid.Resources>
49
        <StackPanel>
50
            <Grid Grid.Row="0">
51
                <Grid.RowDefinitions>
52
                    <RowDefinition Height="20" />
53
                    <RowDefinition Height="20" />
54
                    <!--<RowDefinition Height="20" />
55
                    <RowDefinition Height="20" />-->
56
                </Grid.RowDefinitions>
57
                <Grid.ColumnDefinitions>
58
                    <ColumnDefinition Width="110" />
59
                    <ColumnDefinition Width="10" />
60
                    <ColumnDefinition Width="300"/>
61
                    <ColumnDefinition Width="115" />
62
                    <ColumnDefinition Width="10"/>
63
                    <ColumnDefinition Width="300"/>
64
                </Grid.ColumnDefinitions>
65
                <TextBlock Text="Group No: "
66
                                   Grid.Row="0"
67
                                   Grid.Column="0"/>
68
                <TextBox Text="{Binding GroupNo }" 
69
                                   Grid.Row="0"
70
                                   Grid.Column="2"/>
71
                <TextBlock Text="Document Name: "
72
                                   Grid.Row="0" 
73
                                   Grid.Column="3"/>
74
                <TextBox Text="{Binding DocumentName }" MaxWidth="300"
75
                                   Grid.Row="0" 
76
                                   Grid.Column="5" />
77
                <!--<TextBlock Text="Document No: "
78
                                   Grid.Row="1"
79
                                   Grid.Column="0" HorizontalAlignment="Stretch"  />
80
                <TextBox Text="{Binding DocumnetNo}"
81
                                   Grid.Row="1" 
82
                                   Grid.Column="2" />-->
83
                <!--<TextBlock Text="ReConverter: "
84
                                   Grid.Row="1" 
85
                                   Grid.Column="3"/>
86
                <TextBox Text="{Binding ReConverter}" MaxWidth="300"
87
                                   Grid.Row="1" 
88
                                   Grid.Column="5"/>-->
89
                <!--<TextBlock Text="Document Name: "
90
                                   Grid.Row="2"
91
                                   Grid.Column="0" />
92
                <TextBox Text="{Binding DocumnetName}"
93
                                   Grid.Row="2" 
94
                                   Grid.Column="2"/>-->
95
                <!--<TextBlock Text="Service ID: "
96
                                   Grid.Row="2" 
97
                                   Grid.Column="3"/>
98
                <TextBox Text="{Binding ServiceID}"  MaxWidth="300"
99
                                   Grid.Row="2" 
100
                                   Grid.Column="5" />-->
101
                <TextBlock Text="Revision: "
102
                                   Grid.Row="1"
103
                                   Grid.Column="0"/>
104
                <TextBox Text="{Binding Revision }"
105
                                   Grid.Row="1" 
106
                                   Grid.Column="2"/>
107

    
108
                <TextBlock Text="Document NO: "
109
                                   Grid.Row="1"
110
                                   Grid.Column="3"/>
111
                <TextBox Text="{Binding DocumentNo }"
112
                                   Grid.Row="1" 
113
                                   Grid.Column="5"/>
114
            </Grid>
115

    
116
            <Grid Grid.Row="1">
117
                <Grid.RowDefinitions>
118
                    <RowDefinition Height="AUTO" />
119
                </Grid.RowDefinitions>
120
                <Grid.ColumnDefinitions>
121
                    <ColumnDefinition Width="110" />
122
                    <ColumnDefinition Width="10" />
123
                    <ColumnDefinition Width="Auto"/>
124
                </Grid.ColumnDefinitions>
125
                <TextBlock Text="Exception: "
126
                                   Grid.Row="4" Margin="5,5,0,15"
127
                                   Grid.Column="0"/>
128
                <TextBox Text="{Binding Exception}" TextWrapping="Wrap" 
129
                                   Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15"
130
                                   Grid.Column="2" Grid.ColumnSpan="4"/>
131
            </Grid>
132
        </StackPanel>
133
    </Grid>
134
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)