markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFViewInfo.xaml @ 50b63148
이력 | 보기 | 이력해설 | 다운로드 (4.91 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 |
</Grid.RowDefinitions>
|
55 |
<Grid.ColumnDefinitions>
|
56 |
<ColumnDefinition Width="110" /> |
57 |
<ColumnDefinition Width="10" /> |
58 |
<ColumnDefinition Width="300"/> |
59 |
<ColumnDefinition Width="115" /> |
60 |
<ColumnDefinition Width="10"/> |
61 |
<ColumnDefinition Width="300"/> |
62 |
</Grid.ColumnDefinitions>
|
63 |
<TextBlock Text="Group No: " |
64 |
Grid.Row="0" |
65 |
Grid.Column="0"/> |
66 |
<TextBox Text="{Binding GroupNo }" |
67 |
Grid.Row="0" |
68 |
Grid.Column="2"/> |
69 |
<TextBlock Text="Document Name: " |
70 |
Grid.Row="0" |
71 |
Grid.Column="3"/> |
72 |
<TextBox Text="{Binding DocumentName }" MaxWidth="300" |
73 |
Grid.Row="0" |
74 |
Grid.Column="5" /> |
75 |
<TextBlock Text="Revision: " |
76 |
Grid.Row="1" |
77 |
Grid.Column="0"/> |
78 |
<TextBox Text="{Binding Revision }" |
79 |
Grid.Row="1" |
80 |
Grid.Column="2"/> |
81 |
|
82 |
<TextBlock Text="Document NO: " |
83 |
Grid.Row="1" |
84 |
Grid.Column="3"/> |
85 |
<TextBox Text="{Binding DocumentNo }" |
86 |
Grid.Row="1" |
87 |
Grid.Column="5"/> |
88 |
</Grid>
|
89 |
|
90 |
<Grid Grid.Row="1"> |
91 |
<Grid.RowDefinitions>
|
92 |
<RowDefinition Height="AUTO" /> |
93 |
</Grid.RowDefinitions>
|
94 |
<Grid.ColumnDefinitions>
|
95 |
<ColumnDefinition Width="110" /> |
96 |
<ColumnDefinition Width="10" /> |
97 |
<ColumnDefinition Width="Auto"/> |
98 |
</Grid.ColumnDefinitions>
|
99 |
<TextBlock Text="Exception: " |
100 |
Grid.Row="4" Margin="5,5,0,15" |
101 |
Grid.Column="0"/> |
102 |
<TextBox Text="{Binding Exception}" TextWrapping="Wrap" |
103 |
Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15" |
104 |
Grid.Column="2" Grid.ColumnSpan="4"/> |
105 |
</Grid>
|
106 |
</StackPanel>
|
107 |
</Grid>
|
108 |
</UserControl>
|