markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / ConvertAddDialog.xaml @ 95e7bd84
이력 | 보기 | 이력해설 | 다운로드 (5.24 KB)
1 |
<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 |
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel" |
6 |
Header="Convert Items Insert" Height="300" Width="500" telerik:StyleManager.Theme="VisualStudio2013" > |
7 |
<telerik:RadWindow.DataContext>
|
8 |
<VM:ConvertAddDialogViewModel/> |
9 |
</telerik:RadWindow.DataContext>
|
10 |
<Grid Height="130" Width="480"> |
11 |
<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 |
<Border x:Name="Bd" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="true"> |
28 |
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" |
29 |
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
30 |
</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 |
<Grid.ColumnDefinitions>
|
53 |
<ColumnDefinition Width="128*"/> |
54 |
<ColumnDefinition Width="353*"/> |
55 |
</Grid.ColumnDefinitions>
|
56 |
<Grid.RowDefinitions>
|
57 |
<RowDefinition /> |
58 |
<RowDefinition Height="Auto" /> |
59 |
<RowDefinition Height="Auto" /> |
60 |
</Grid.RowDefinitions>
|
61 |
|
62 |
<Grid Grid.Row="0" Margin="10" Grid.ColumnSpan="2"> |
63 |
<Grid.ColumnDefinitions>
|
64 |
<ColumnDefinition Width="90" /> |
65 |
<ColumnDefinition Width="10" /> |
66 |
<ColumnDefinition Width="*"/> |
67 |
<ColumnDefinition Width="10" /> |
68 |
<ColumnDefinition Width="90" /> |
69 |
<ColumnDefinition Width="10" /> |
70 |
<ColumnDefinition Width="1.5*"/> |
71 |
</Grid.ColumnDefinitions>
|
72 |
<Grid.RowDefinitions>
|
73 |
<RowDefinition /> |
74 |
<RowDefinition /> |
75 |
</Grid.RowDefinitions>
|
76 |
<TextBlock Grid.Row="0" Text="Project NO" /> |
77 |
<TextBlock Grid.Row="0" Grid.Column="4" Text="DOCUMENT ID" /> |
78 |
<TextBlock Grid.Row="1" Grid.Column="0" Text="Document URL" /> |
79 |
|
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 |
|
84 |
</Grid>
|
85 |
|
86 |
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0 0 0 10" Grid.Column="1"> |
87 |
|
88 |
<telerik:RadButton Content=" SEND" MinWidth="50" Margin="8 0" VerticalAlignment="Center" |
89 |
Command="{Binding ConverAdd_OKCommand , Mode=TwoWay}" /> |
90 |
|
91 |
<telerik:RadButton Content="CANCEL" MinWidth="80" Margin="0 0 10 0" VerticalAlignment="Center" IsCancel="True" Name="Close" /> |
92 |
</StackPanel>
|
93 |
|
94 |
</Grid>
|
95 |
</Grid>
|
96 |
</telerik:RadWindow>
|