markus / ConvertService / ServiceController / Markus.Service.StationController / Views / DataBaseViewInfo.xaml @ 5c387707
이력 | 보기 | 이력해설 | 다운로드 (5.69 KB)
1 |
<UserControl x:Class="Markus.Service.StationController.Views.DataBaseViewInfo" |
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 |
xmlns:local="clr-namespace:Markus.Service.StationController.Views" |
8 |
mc:Ignorable="d" Background="White" d:DesignHeight="450" d:DesignWidth="800"> |
9 |
<Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch"> |
10 |
<Grid.RowDefinitions>
|
11 |
<RowDefinition/> |
12 |
<RowDefinition/> |
13 |
</Grid.RowDefinitions>
|
14 |
<Grid.Resources>
|
15 |
<Style TargetType="{x:Type TextBox}"> |
16 |
<Setter Property="Margin" Value="5,5,0,0"/> |
17 |
<Setter Property="VerticalAlignment" Value="Center"/> |
18 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
19 |
<Setter Property="Foreground" Value="Black"/> |
20 |
<Setter Property="Background" Value="Transparent"/> |
21 |
<Setter Property="BorderBrush" Value="Transparent"/> |
22 |
<Setter Property="BorderThickness" Value="0"/> |
23 |
<Setter Property="IsReadOnly" Value="true"/> |
24 |
<Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
25 |
<Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> |
26 |
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/> |
27 |
<Setter Property="Template"> |
28 |
<Setter.Value>
|
29 |
<ControlTemplate TargetType="{x:Type TextBox}"> |
30 |
<Border x:Name="Bd" |
31 |
BorderThickness="{TemplateBinding BorderThickness}" |
32 |
SnapsToDevicePixels="true"> |
33 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
34 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
35 |
</Border>
|
36 |
</ControlTemplate>
|
37 |
</Setter.Value>
|
38 |
</Setter>
|
39 |
</Style>
|
40 |
<Style TargetType="DataGridCell"> |
41 |
<Setter Property="Margin" Value="10"/> |
42 |
</Style>
|
43 |
<Style TargetType="TextBlock"> |
44 |
<Setter Property="FontWeight" Value="Bold"/> |
45 |
<Setter Property="Margin" Value="5,5,0,0"/> |
46 |
<Setter Property="HorizontalAlignment" Value="Left"/> |
47 |
<Setter Property="VerticalAlignment" Value="Center"/> |
48 |
</Style>
|
49 |
</Grid.Resources>
|
50 |
<StackPanel>
|
51 |
<Grid Grid.Row="0"> |
52 |
<Grid.RowDefinitions>
|
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="58" /> |
62 |
<ColumnDefinition Width="57"/> |
63 |
<ColumnDefinition Width="10"/> |
64 |
<ColumnDefinition Width="300"/> |
65 |
</Grid.ColumnDefinitions>
|
66 |
<TextBlock Text="Group No: " |
67 |
Grid.Row="0" |
68 |
Grid.Column="0" Margin="5,5,0,19" Grid.RowSpan="2"/> |
69 |
<TextBox Text="{Binding GroupNo}" |
70 |
Grid.Row="0" |
71 |
Grid.Column="2"/> |
72 |
<TextBlock Text="Document No: " |
73 |
Grid.Row="1" |
74 |
Grid.Column="0" HorizontalAlignment="Stretch" Margin="5,5,0,19" Grid.RowSpan="2" /> |
75 |
<TextBox Text="{Binding DocumentNo}" |
76 |
Grid.Row="1" |
77 |
Grid.Column="2" /> |
78 |
<TextBlock Text="ReConverter: " |
79 |
Grid.Row="1" |
80 |
Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/> |
81 |
<TextBox Text="{Binding ReConverter}" MaxWidth="300" |
82 |
Grid.Row="1" |
83 |
Grid.Column="6"/> |
84 |
<TextBlock Text="Document Name: " |
85 |
Grid.Row="2" |
86 |
Grid.Column="0" Margin="5,5,0,-1" /> |
87 |
<TextBox Text="{Binding DocumentName}" |
88 |
Grid.Row="2" |
89 |
Grid.Column="2"/> |
90 |
<TextBlock Text="Service ID: " |
91 |
Grid.Row="2" |
92 |
Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,-1"/> |
93 |
<TextBox Text="{Binding ServiceID}" MaxWidth="300" |
94 |
Grid.Row="2" |
95 |
Grid.Column="6" /> |
96 |
<TextBlock Text="Revision: " |
97 |
Grid.Row="0" |
98 |
Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/> |
99 |
<TextBox Text="{Binding Revision}" |
100 |
Grid.Row="0" |
101 |
Grid.Column="6"/> |
102 |
</Grid>
|
103 |
|
104 |
<Grid Grid.Row="1"> |
105 |
<Grid.RowDefinitions>
|
106 |
<RowDefinition Height="AUTO" /> |
107 |
</Grid.RowDefinitions>
|
108 |
<Grid.ColumnDefinitions>
|
109 |
<ColumnDefinition Width="110" /> |
110 |
<ColumnDefinition Width="10" /> |
111 |
<ColumnDefinition Width="Auto"/> |
112 |
</Grid.ColumnDefinitions>
|
113 |
<TextBlock Text="Exception: " |
114 |
Grid.Row="4" Margin="5,5,0,15" |
115 |
Grid.Column="0"/> |
116 |
<TextBox Text="{Binding Exception}" TextWrapping="Wrap" |
117 |
Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15" |
118 |
Grid.Column="2" Grid.ColumnSpan="4"/> |
119 |
</Grid>
|
120 |
</StackPanel>
|
121 |
</Grid>
|
122 |
</UserControl>
|