프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / ConvertAddDialog.xaml @ 2c634aed

이력 | 보기 | 이력해설 | 다운로드 (5.15 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
        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
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 2c634aed semi
            <Grid.ColumnDefinitions>
56
                <ColumnDefinition Width="128*"/>
57
                <ColumnDefinition Width="353*"/>
58
            </Grid.ColumnDefinitions>
59 43b2e236 semi
            <Grid.RowDefinitions>
60
                <RowDefinition />
61
                <RowDefinition Height="Auto" />
62
                <RowDefinition Height="Auto" />
63
            </Grid.RowDefinitions>
64
65 2c634aed semi
            <Grid Grid.Row="0" Margin="10" Grid.ColumnSpan="2">
66 43b2e236 semi
                <Grid.ColumnDefinitions>
67
                    <ColumnDefinition Width="90" />
68
                    <ColumnDefinition Width="10" />
69 85f68fef semi
                    <ColumnDefinition Width="*"/>
70
                    <ColumnDefinition Width="10" />
71
                    <ColumnDefinition Width="90" />
72
                    <ColumnDefinition Width="10" />
73
                    <ColumnDefinition Width="1.5*"/>
74 43b2e236 semi
                </Grid.ColumnDefinitions>
75
                <Grid.RowDefinitions>
76 85f68fef semi
                    <RowDefinition Height="25"/>
77
                    <RowDefinition Height="25"/>
78 43b2e236 semi
                </Grid.RowDefinitions>
79 2c634aed semi
                <TextBlock Grid.Row="0" Text="Project NO" />
80 85f68fef semi
                <TextBlock Grid.Row="0" Grid.Column="4" Text="DOCUMENT ID" />
81
                <TextBlock Grid.Row="1" Grid.Column="0" Text="Document URL" />
82 2c634aed semi
83 43b2e236 semi
                <TextBox Text="{Binding ConverAdd_Project_NO, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="0" Grid.Column="2" />
84 85f68fef semi
                <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"/>
86 43b2e236 semi
            </Grid>
87 2c634aed semi
            <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0 0 0 10" Grid.Column="1">
88 43b2e236 semi
89
                <telerik:RadButton Content=" SEND" MinWidth="50" Margin="8 0" VerticalAlignment="Center"
90
                                                           Command="{Binding ConverAdd_OKCommand , Mode=TwoWay}" />
91
92 8c128693 semi
                <telerik:RadButton Content="CANCEL" MinWidth="80" Margin="0 0 10 0" VerticalAlignment="Center" IsCancel="True" Name="Close" />
93 43b2e236 semi
            </StackPanel>
94
95
        </Grid>
96
    </Grid>
97
</telerik:RadWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)