markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseViewInfo.xaml @ 8c128693
이력 | 보기 | 이력해설 | 다운로드 (5.08 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" |
10 |
VerticalAlignment="Stretch"> |
11 |
<Grid.Resources>
|
12 |
<Style x:Key="InfoStyle" TargetType="{x:Type TextBox}"> |
13 |
<Setter Property="Margin" Value="5,5,0,0"/> |
14 |
<Setter Property="VerticalAlignment" Value="Center"/> |
15 |
<Setter Property="Foreground" Value="Black"/> |
16 |
<Setter Property="Background" Value="Transparent"/> |
17 |
<Setter Property="BorderBrush" Value="Transparent"/> |
18 |
<Setter Property="BorderThickness" Value="0"/> |
19 |
<Setter Property="IsReadOnly" Value="true"/> |
20 |
<Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
21 |
<Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> |
22 |
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/> |
23 |
<Setter Property="Template"> |
24 |
<Setter.Value>
|
25 |
<ControlTemplate TargetType="{x:Type TextBox}"> |
26 |
<Border x:Name="Bd" |
27 |
BorderThickness="{TemplateBinding BorderThickness}" |
28 |
SnapsToDevicePixels="true"> |
29 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
30 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
31 |
</Border>
|
32 |
</ControlTemplate>
|
33 |
</Setter.Value>
|
34 |
</Setter>
|
35 |
</Style>
|
36 |
<!--<Style TargetType="DataGridCell">
|
37 |
<Setter Property="Margin" Value="10"/>
|
38 |
</Style>-->
|
39 |
<Style TargetType="TextBlock"> |
40 |
<Setter Property="FontWeight" Value="Bold"/> |
41 |
<Setter Property="Margin" Value="5,5,0,0"/> |
42 |
<Setter Property="HorizontalAlignment" Value="Left"/> |
43 |
<Setter Property="VerticalAlignment" Value="Center"/> |
44 |
</Style>
|
45 |
</Grid.Resources>
|
46 |
<Grid.RowDefinitions>
|
47 |
<RowDefinition Height="AUTO" /> |
48 |
<RowDefinition Height="AUTO" /> |
49 |
<RowDefinition Height="AUTO" /> |
50 |
<RowDefinition Height="AUTO" /> |
51 |
<RowDefinition Height="Auto" /> |
52 |
</Grid.RowDefinitions>
|
53 |
<Grid.ColumnDefinitions>
|
54 |
<ColumnDefinition Width="Auto" /> |
55 |
<ColumnDefinition Width="Auto" /> |
56 |
<ColumnDefinition Width="Auto"/> |
57 |
<ColumnDefinition Width="Auto" /> |
58 |
</Grid.ColumnDefinitions>
|
59 |
<TextBlock Text="GROUP_NO: " |
60 |
Grid.Row="0" |
61 |
Grid.Column="0"/> |
62 |
<TextBox Text="{Binding GroupNo}" |
63 |
Grid.Row="0" Style="{StaticResource InfoStyle}" |
64 |
Grid.Column="1"/> |
65 |
<TextBlock Text="ProcessorAffinity: " |
66 |
Grid.Row="0" Margin="10,0,0,0" |
67 |
Grid.Column="2"/> |
68 |
<TextBox Text="{Binding ProcessorAffinity}" Margin="10,0,0,0" |
69 |
Grid.Row="0" Style="{StaticResource InfoStyle}" |
70 |
Grid.Column="3" /> |
71 |
<TextBlock Text="DOCUMENT_NO: " |
72 |
Grid.Row="1" |
73 |
Grid.Column="0" /> |
74 |
<TextBox Text="{Binding DocumnetNo}" |
75 |
Grid.Row="1" Style="{StaticResource InfoStyle}" |
76 |
Grid.Column="1" /> |
77 |
<TextBlock Text="ReConverter: " |
78 |
Grid.Row="1" Margin="10,0,0,0" |
79 |
Grid.Column="2"/> |
80 |
<TextBox Text="{Binding ReConverter}" Margin="10,0,0,0" |
81 |
Grid.Row="1" Style="{StaticResource InfoStyle}" |
82 |
Grid.Column="3"/> |
83 |
<TextBlock Text="DOCUMENT_NAME: " |
84 |
Grid.Row="2" |
85 |
Grid.Column="0" /> |
86 |
<TextBox Text="{Binding DocumnetName}" |
87 |
Grid.Row="2" Style="{StaticResource InfoStyle}" |
88 |
Grid.Column="1"/> |
89 |
<TextBlock Text="Service ID: " |
90 |
Grid.Row="2" Margin="10,0,0,0" |
91 |
Grid.Column="2"/> |
92 |
<TextBox Text="{Binding ServiceID}" HorizontalAlignment="Left" Margin="10,0,0,0" |
93 |
Grid.Row="2" Style="{StaticResource InfoStyle}" |
94 |
Grid.Column="3" Width="489"/> |
95 |
<TextBlock Text="REVISION: " |
96 |
Grid.Row="3" |
97 |
Grid.Column="0"/> |
98 |
<TextBox Text="{Binding Revision}" |
99 |
Grid.Row="3" Style="{StaticResource InfoStyle}" |
100 |
Grid.Column="1"/> |
101 |
<TextBlock Text="Exception: " |
102 |
Grid.Row="4" Margin="5,5,0,15" |
103 |
Grid.Column="0"/> |
104 |
<TextBox Text="{Binding Exception}" TextWrapping="Wrap" |
105 |
Grid.Row="4" Style="{StaticResource InfoStyle}" AcceptsReturn="True" Margin="0,5,0,15" |
106 |
Grid.Column="1" Grid.ColumnSpan="3"/> |
107 |
</Grid>
|
108 |
</UserControl>
|