프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceController / Markus.Service.StationController / Views / FinalPDFAddDialog.xaml @ 9d5b4bc2

이력 | 보기 | 이력해설 | 다운로드 (8.37 KB)

1 5c387707 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 f0295f8c semi
        Header="FinalPDFAddDialog" Height="300" Width="800" telerik:StyleManager.Theme="VisualStudio2013">
7 5c387707 semi
    <telerik:RadWindow.DataContext>
8
        <VM:FinalPDFAddDialogViewModel/>
9
    </telerik:RadWindow.DataContext>
10 f0295f8c semi
    <Grid Height="130" Width="780">
11 5c387707 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 be7b18b6 semi
                    
22 5c387707 semi
                    <Setter Property="IsReadOnly" Value="true"/>
23
                    <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
24
                    <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
25
                    <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
26
                    <Setter Property="Template">
27
                        <Setter.Value>
28
                            <ControlTemplate TargetType="{x:Type TextBox}">
29
                                <Border x:Name="Bd" 
30
                    BorderThickness="{TemplateBinding BorderThickness}" 
31
                    SnapsToDevicePixels="true">
32
                                    <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
33
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
34
                                </Border>
35
                            </ControlTemplate>
36
                        </Setter.Value>
37
                    </Setter>
38
                </Style>
39
40
                <Style TargetType="TextBlock">
41
                    <Setter Property="FontFamily" Value="Segoe UI Semibold" />
42
                    <Setter Property="VerticalAlignment" Value="Center" />
43
                    <Setter Property="Foreground" Value="#FF7A7A7A" />
44
                </Style>
45
46
                <Style TargetType="TextBox">
47
                    <Setter Property="FontFamily" Value="Segoe UI Semibold" />
48
                    <Setter Property="VerticalAlignment" Value="Center" />
49
                    <Setter Property="Foreground" Value="#FF333333" />
50
                    <Setter Property="BorderBrush" Value="#FFD6D4D4" />
51
                </Style>
52
            </ResourceDictionary>
53
        </Grid.Resources>
54
55
        <Grid x:Name="LayoutRoot" Background="White">
56
            <Grid.RowDefinitions>
57
                <RowDefinition />
58
                <RowDefinition Height="Auto" />
59
                <RowDefinition Height="Auto" />
60
            </Grid.RowDefinitions>
61
62
            <Grid Grid.Row="0" Margin="10">
63
                <Grid.ColumnDefinitions>
64 be7b18b6 semi
                    <ColumnDefinition Width="90" />
65 5c387707 semi
                    <ColumnDefinition Width="10" />
66
                    <ColumnDefinition Width="*"/>
67
                    <ColumnDefinition Width="10" />
68
                    <ColumnDefinition Width="90" />
69
                    <ColumnDefinition Width="10" />
70 be7b18b6 semi
                    <ColumnDefinition Width="1.1*"/>
71 5c387707 semi
                </Grid.ColumnDefinitions>
72
                <Grid.RowDefinitions>
73
                    <RowDefinition Height="12"/>
74
                    <RowDefinition />
75
                    <RowDefinition Height="12"/>
76
                    <RowDefinition />
77
                </Grid.RowDefinitions>
78
                <TextBlock Grid.Row="1" Text="Project NO" />
79
                <TextBlock Grid.Row="1" Grid.Column="4" Text="Document ID" />
80
                <TextBlock Grid.Row="3" Grid.Column="0" Text="DocInfo_ID" />
81
82
                <telerik:RadComboBox Grid.Row="1" Grid.Column="2" HorizontalAlignment="Stretch"
83
                                         DisplayMemberPath="Project_NOAndProject_Name"
84
                                         ItemsSource="{Binding ProjectNames}" 
85
                                         SelectedItem="{Binding ProjectNumberFilter}"
86
                                         AllowMultipleSelection="False"
87
                                         BorderBrush="{Binding Project_NO_Border}"
88
                                         EmptyText="Project_NO : Project_Name" />
89
                <TextBox Text="{Binding FinalPDFAdd_Document_ID, Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}" Grid.Row="1" Grid.Column="6" BorderBrush="{Binding DOCUMENT_ID_Border}" />
90
                <TextBox Text="{Binding FinalPDFAdd_DocInfo_ID,  Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="5" BorderBrush="{Binding DocInfo_ID_Border}"/>
91
92
                <DockPanel Grid.Column="2" Grid.Row="0">
93
                    <StackPanel Orientation="Horizontal" DockPanel.Dock="Top">
94
                        <Grid Width="12" Height="12">
95
                            <Ellipse Width="12" Height="12" Fill="{Binding Project_NO_Color}" HorizontalAlignment="Center" VerticalAlignment="Center" ></Ellipse>
96
                            <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  
97
                                           ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}" >!</TextBlock>
98
                        </Grid>
99
                        <TextBlock  HorizontalAlignment="Left" VerticalAlignment="Top" Text="ProjectNO empty" FontSize="9" Foreground="{Binding Project_NO_Color}" />
100
                    </StackPanel>
101
                </DockPanel>
102
                <DockPanel Grid.Column="6" Grid.Row="0">
103
                    <StackPanel Orientation="Horizontal" DockPanel.Dock="Top">
104
                        <Grid Width="12" Height="12">
105
                            <Ellipse Width="12" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center"
106
                                     Fill="{Binding DOCUMENT_ID_Color}"/>
107
                            <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  
108
                                           ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}" >!</TextBlock>
109
                        </Grid>
110
                        <TextBlock  HorizontalAlignment="Left" VerticalAlignment="Top" Text="DOCUMENT ID empty" FontSize="9" Foreground="{Binding DOCUMENT_ID_Color}" />
111
                    </StackPanel>
112
                </DockPanel>
113
114
                <DockPanel Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="5" >
115
                    <StackPanel Orientation="Horizontal" DockPanel.Dock="Top">
116
                        <Grid Width="12" Height="12">
117
                            <Ellipse Width="12" Height="12" Fill="{Binding DocInfo_ID_Color}" HorizontalAlignment="Center" VerticalAlignment="Center" />
118
                            <TextBlock Foreground="White" FontWeight="Heavy" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  
119
                                           ToolTip="{Binding ElementName=ErrorAdorner, Path=AdornedElement.(Validation.Errors)[0].ErrorContent}"  >!</TextBlock>
120
                        </Grid>
121
                        <TextBlock  HorizontalAlignment="Left" VerticalAlignment="Top" Text="Document ID empty" FontSize="9" Foreground="{Binding DocInfo_ID_Color}" />
122
                    </StackPanel>
123
                </DockPanel>
124
            </Grid>
125
            <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0 0 0 10">
126
                <telerik:RadButton Content=" SEND" MinWidth="50" Margin="8 0" VerticalAlignment="Center"
127
                                                           Command="{Binding FinalPDFAdd_OKCommand , Mode=TwoWay}" />
128
                <telerik:RadButton Content="CANCEL" MinWidth="80" Margin="0 0 10 0" VerticalAlignment="Center" IsCancel="True" Name="Close" />
129
            </StackPanel>
130
        </Grid>
131
    </Grid>
132
</telerik:RadWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)