개정판 95e7bd84
수정사항 & Add Dialog validation 하는 중
Change-Id: Id53bbd718ea1cc5aebfc97f0216fe6a3f464ee00
ConvertService/ServiceBase/Markus.Service.StationController/Views/ConvertAddDialog.xaml | ||
---|---|---|
2 | 2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
5 |
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel" |
|
5 |
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
|
|
6 | 6 |
Header="Convert Items Insert" Height="300" Width="500" telerik:StyleManager.Theme="VisualStudio2013" > |
7 | 7 |
<telerik:RadWindow.DataContext> |
8 | 8 |
<VM:ConvertAddDialogViewModel/> |
... | ... | |
10 | 10 |
<Grid Height="130" Width="480"> |
11 | 11 |
<Grid.Resources> |
12 | 12 |
<ResourceDictionary> |
13 |
|
|
14 | 13 |
<Style x:Key="InfoStyle" TargetType="{x:Type TextBox}"> |
15 | 14 |
<Setter Property="Margin" Value="5,5,0,0"/> |
16 | 15 |
<Setter Property="VerticalAlignment" Value="Center"/> |
... | ... | |
25 | 24 |
<Setter Property="Template"> |
26 | 25 |
<Setter.Value> |
27 | 26 |
<ControlTemplate TargetType="{x:Type TextBox}"> |
28 |
<Border x:Name="Bd" |
|
29 |
BorderThickness="{TemplateBinding BorderThickness}" |
|
30 |
SnapsToDevicePixels="true"> |
|
27 |
<Border x:Name="Bd" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="true"> |
|
31 | 28 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
32 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
|
29 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
33 | 30 |
</Border> |
34 | 31 |
</ControlTemplate> |
35 | 32 |
</Setter.Value> |
... | ... | |
73 | 70 |
<ColumnDefinition Width="1.5*"/> |
74 | 71 |
</Grid.ColumnDefinitions> |
75 | 72 |
<Grid.RowDefinitions> |
76 |
<RowDefinition Height="25"/>
|
|
77 |
<RowDefinition Height="25"/>
|
|
73 |
<RowDefinition /> |
|
74 |
<RowDefinition /> |
|
78 | 75 |
</Grid.RowDefinitions> |
79 | 76 |
<TextBlock Grid.Row="0" Text="Project NO" /> |
80 | 77 |
<TextBlock Grid.Row="0" Grid.Column="4" Text="DOCUMENT ID" /> |
81 | 78 |
<TextBlock Grid.Row="1" Grid.Column="0" Text="Document URL" /> |
82 | 79 |
|
83 |
<TextBox Text="{Binding ConverAdd_Project_NO, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="0" Grid.Column="2" /> |
|
84 |
<TextBox Text="{Binding ConverAdd_DOCUMENT_ID, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="0" Grid.Column="6" /> |
|
85 |
<TextBox Text="{Binding ConverAdd_DOCUMENT_URL, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="5"/> |
|
80 |
<TextBox Text="{Binding ConverAdd_Project_NO, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" Grid.Row="0" Grid.Column="2" /> |
|
81 |
<TextBox Text="{Binding ConverAdd_DOCUMENT_ID, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True }" Grid.Row="0" Grid.Column="6" /> |
|
82 |
<TextBox Text="{Binding ConverAdd_DOCUMENT_URL, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True }" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="5"/> |
|
83 |
|
|
86 | 84 |
</Grid> |
85 |
|
|
87 | 86 |
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0 0 0 10" Grid.Column="1"> |
88 | 87 |
|
89 | 88 |
<telerik:RadButton Content=" SEND" MinWidth="50" Margin="8 0" VerticalAlignment="Center" |
내보내기 Unified diff