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