markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFAddDialog.xaml @ 78cffba9
이력 | 보기 | 이력해설 | 다운로드 (7.96 KB)
1 | 3bde451b | semi | <telerik:RadWindow x:Class="Markus.Service.StationController.Views.FinalPDFAddDialog" |
---|---|---|---|
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:VM="clr-namespace:Markus.Service.StationController.ViewModel" |
||
6 | 2c634aed | semi | Header="FinalPDFAddDialog" Height="300" Width="500" telerik:StyleManager.Theme="VisualStudio2013"> |
7 | 3bde451b | semi | <telerik:RadWindow.DataContext>
|
8 | <VM:FinalPDFAddDialogViewModel/> |
||
9 | </telerik:RadWindow.DataContext>
|
||
10 | <Grid Height="130" Width="480"> |
||
11 | <Grid.Resources>
|
||
12 | <ResourceDictionary>
|
||
13 | |||
14 | <Style x:Key="InfoStyle" TargetType="{x:Type TextBox}"> |
||
15 | <Setter Property="Margin" Value="5,5,0,0"/> |
||
16 | <Setter Property="VerticalAlignment" Value="Center"/> |
||
17 | <Setter Property="Foreground" Value="Black"/> |
||
18 | <Setter Property="Background" Value="Transparent"/> |
||
19 | <Setter Property="BorderBrush" Value="Transparent"/> |
||
20 | <Setter Property="BorderThickness" Value="0"/> |
||
21 | <Setter Property="IsReadOnly" Value="true"/> |
||
22 | <Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
||
23 | <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> |
||
24 | <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> |
||
25 | <Setter Property="Template"> |
||
26 | <Setter.Value>
|
||
27 | <ControlTemplate TargetType="{x:Type TextBox}"> |
||
28 | <Border x:Name="Bd" |
||
29 | BorderThickness="{TemplateBinding BorderThickness}" |
||
30 | SnapsToDevicePixels="true"> |
||
31 | <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
||
32 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
||
33 | </Border>
|
||
34 | </ControlTemplate>
|
||
35 | </Setter.Value>
|
||
36 | </Setter>
|
||
37 | </Style>
|
||
38 | |||
39 | <Style TargetType="TextBlock"> |
||
40 | <Setter Property="FontFamily" Value="Segoe UI Semibold" /> |
||
41 | <Setter Property="VerticalAlignment" Value="Center" /> |
||
42 | <Setter Property="Foreground" Value="#FF7A7A7A" /> |
||
43 | </Style>
|
||
44 | |||
45 | <Style TargetType="TextBox"> |
||
46 | <Setter Property="FontFamily" Value="Segoe UI Semibold" /> |
||
47 | <Setter Property="VerticalAlignment" Value="Center" /> |
||
48 | <Setter Property="Foreground" Value="#FF333333" /> |
||
49 | <Setter Property="BorderBrush" Value="#FFD6D4D4" /> |
||
50 | </Style>
|
||
51 | </ResourceDictionary>
|
||
52 | </Grid.Resources>
|
||
53 | |||
54 | <Grid x:Name="LayoutRoot" Background="White"> |
||
55 | <Grid.RowDefinitions>
|
||
56 | <RowDefinition /> |
||
57 | <RowDefinition Height="Auto" /> |
||
58 | <RowDefinition Height="Auto" /> |
||
59 | </Grid.RowDefinitions>
|
||
60 | |||
61 | <Grid Grid.Row="0" Margin="10"> |
||
62 | <Grid.ColumnDefinitions>
|
||
63 | <ColumnDefinition Width="70" /> |
||
64 | <ColumnDefinition Width="10" /> |
||
65 | <ColumnDefinition Width="*"/> |
||
66 | <ColumnDefinition Width="10" /> |
||
67 | <ColumnDefinition Width="90" /> |
||
68 | <ColumnDefinition Width="10" /> |
||
69 | <ColumnDefinition Width="1.5*"/> |
||
70 | </Grid.ColumnDefinitions>
|
||
71 | <Grid.RowDefinitions>
|
||
72 | 78cffba9 | semi | <RowDefinition Height="12"/> |
73 | <RowDefinition /> |
||
74 | <RowDefinition Height="12"/> |
||
75 | <RowDefinition /> |
||
76 | 3bde451b | semi | </Grid.RowDefinitions>
|
77 | 78cffba9 | semi | <TextBlock Grid.Row="1" Text="Project NO" /> |
78 | <TextBlock Grid.Row="1" Grid.Column="4" Text="Document ID" /> |
||
79 | <TextBlock Grid.Row="3" Grid.Column="0" Text="DocInfo_ID" /> |
||
80 | 3bde451b | semi | |
81 | 78cffba9 | semi | <TextBox Text="{Binding FinalPDFAdd_Project_NO, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="1" Grid.Column="2" BorderBrush="{Binding Project_NO_Border}" /> |
82 | <TextBox Text="{Binding FinalPDFAdd_Document_ID, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="1" Grid.Column="6" BorderBrush="{Binding DOCUMENT_ID_Border}" /> |
||
83 | <TextBox Text="{Binding FinalPDFAdd_DocInfo_ID, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="5" BorderBrush="{Binding DocInfo_ID_Border}"/> |
||
84 | |||
85 | <DockPanel Grid.Column="2" Grid.Row="0"> |
||
86 | <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> |
||
87 | <Grid Width="12" Height="12"> |
||
88 | <Ellipse Width="12" Height="12" Fill="{Binding Project_NO_Color}" HorizontalAlignment="Center" VerticalAlignment="Center" ></Ellipse> |
||
89 | <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" |
||
90 | ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}" >!</TextBlock> |
||
91 | </Grid>
|
||
92 | <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="ProjectNO empty" FontSize="9" Foreground="{Binding Project_NO_Color}" /> |
||
93 | </StackPanel>
|
||
94 | </DockPanel>
|
||
95 | <DockPanel Grid.Column="6" Grid.Row="0"> |
||
96 | <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> |
||
97 | <Grid Width="12" Height="12"> |
||
98 | <Ellipse Width="12" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" |
||
99 | Fill="{Binding DOCUMENT_ID_Color}"/> |
||
100 | <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" |
||
101 | ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}" >!</TextBlock> |
||
102 | </Grid>
|
||
103 | <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="DOCUMENT ID empty" FontSize="9" Foreground="{Binding DOCUMENT_ID_Color}" /> |
||
104 | </StackPanel>
|
||
105 | </DockPanel>
|
||
106 | |||
107 | <DockPanel Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="5" > |
||
108 | <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> |
||
109 | <Grid Width="12" Height="12"> |
||
110 | <Ellipse Width="12" Height="12" Fill="{Binding DocInfo_ID_Color}" HorizontalAlignment="Center" VerticalAlignment="Center" /> |
||
111 | <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center" |
||
112 | ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}" >!</TextBlock> |
||
113 | </Grid>
|
||
114 | <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Document ID empty" FontSize="9" Foreground="{Binding DocInfo_ID_Color}" /> |
||
115 | </StackPanel>
|
||
116 | </DockPanel>
|
||
117 | 3bde451b | semi | </Grid>
|
118 | <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0 0 0 10"> |
||
119 | <telerik:RadButton Content=" SEND" MinWidth="50" Margin="8 0" VerticalAlignment="Center" |
||
120 | Command="{Binding FinalPDFAdd_OKCommand , Mode=TwoWay}" /> |
||
121 | <telerik:RadButton Content="CANCEL" MinWidth="80" Margin="0 0 10 0" VerticalAlignment="Center" IsCancel="True" Name="Close" /> |
||
122 | </StackPanel>
|
||
123 | </Grid>
|
||
124 | </Grid>
|
||
125 | </telerik:RadWindow> |