개정판 df2e7646
DataNavigation 추가
PEMSS 기능 완료
Change-Id: I88374faf732cb66b4f9be60fbd457e2e7259bfb2
KCOM/Views/RequirementView.xaml | ||
---|---|---|
25 | 25 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
26 | 26 |
</i:EventTrigger> |
27 | 27 |
</i:Interaction.Triggers> |
28 |
<telerik:RadLayoutControl ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectedItem="{x:Null}"> |
|
28 |
<Grid> |
|
29 |
<Grid.ColumnDefinitions> |
|
30 |
<ColumnDefinition Width="5.7*"/> |
|
31 |
<ColumnDefinition Width="Auto"/> |
|
32 |
<ColumnDefinition Width="Auto"/> |
|
33 |
</Grid.ColumnDefinitions> |
|
29 | 34 |
<Grid Background="White"> |
30 | 35 |
<Grid.RowDefinitions> |
31 | 36 |
<RowDefinition Height="Auto"/> |
... | ... | |
61 | 66 |
<controls:DataNavigation HorizontalAlignment="Center" Grid.Column="2" |
62 | 67 |
ItemSource="{Binding RequirementList,Mode=TwoWay}" |
63 | 68 |
CurrentItem="{Binding SelectRequirement,Mode=TwoWay}"/> |
64 |
<telerik:RadToggleButton Content="검색" Width="60" Grid.Column="4" Margin="5"/> |
|
69 |
<telerik:RadToggleButton Content="전체 보기" Width="60" Grid.Column="4" Margin="5" |
|
70 |
Command="{Binding RequirementSearchCommand, Source={StaticResource ViewModel}}"/> |
|
65 | 71 |
<Line Grid.Row="1" Grid.ColumnSpan="5" Fill="#FFB9B9B9" Margin="5,0" X1="0" X2="1" Y1="1" Stretch="Fill" Y2="1" Stroke="#FFB0B0B0"/> |
66 | 72 |
</Grid> |
67 | 73 |
<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" BorderThickness="1" BorderBrush="Gray"> |
68 | 74 |
<TextBlock Margin="3" TextWrapping="WrapWithOverflow" Text="{Binding SelectRequirement.mdText,Converter={StaticResource StringMultiLineConvert}}"/> |
69 | 75 |
</ScrollViewer> |
70 | 76 |
</Grid> |
71 |
<telerik:LayoutControlSplitter/> |
|
72 |
<Grid > |
|
77 |
<Grid Grid.Column="1"> |
|
73 | 78 |
<Grid.RowDefinitions> |
74 | 79 |
<RowDefinition Height="Auto"/> |
75 |
<RowDefinition Height="Auto"/>
|
|
80 |
<RowDefinition Height="*"/>
|
|
76 | 81 |
</Grid.RowDefinitions> |
77 |
<StackPanel> |
|
82 |
<Grid.ColumnDefinitions> |
|
83 |
<ColumnDefinition Width="Auto"/> |
|
84 |
<ColumnDefinition/> |
|
85 |
</Grid.ColumnDefinitions> |
|
86 |
<Line HorizontalAlignment="Center" Grid.RowSpan="4" Fill="#FFB9B9B9" Margin="2,5" X1="1" X2="1" Y1="0" Y2="1" Stretch="Fill" Stroke="#FFB0B0B0"/> |
|
87 |
<StackPanel Grid.Column="1"> |
|
78 | 88 |
<telerik:RadPathButton Width="100" HorizontalAlignment="Left" Content="연결 추가" FontSize="12" Grid.ColumnSpan="2" Margin="15,2,2,2" |
79 | 89 |
Command="{Binding AddVPCommentCommand, Source={StaticResource ViewModel}}" |
80 | 90 |
ContentPlacement="Left" telerik:StyleManager.Theme="Office2016" |
... | ... | |
89 | 99 |
<Setter Property="HorizontalAlignment" Value="Right" /> |
90 | 100 |
<Setter Property="VerticalAlignment" Value="Center" /> |
91 | 101 |
</Style> |
102 |
|
|
92 | 103 |
</telerik:RadPathButton.PathStyle> |
93 | 104 |
</telerik:RadPathButton> |
94 | 105 |
</StackPanel> |
95 | 106 |
<telerik:RadGridView x:Name="DetailGridView" GroupRenderMode="Flat" Grid.Row="1" |
96 |
BorderThickness="0,1,0,1" Grid.Column="1" telerik:StyleManager.Theme="Office2016" |
|
97 |
GridLinesVisibility="Both" |
|
98 |
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ColumnWidth="Auto" |
|
107 |
BorderThickness="1" Grid.Column="1" telerik:StyleManager.Theme="Office2016" |
|
108 |
GridLinesVisibility="Both" RowIndicatorVisibility="Collapsed" Margin="2,0" |
|
109 |
ScrollViewer.VerticalScrollBarVisibility="Auto" Width="562" |
|
110 |
ScrollViewer.HorizontalScrollBarVisibility="Hidden" ColumnWidth="Auto" |
|
99 | 111 |
CanUserFreezeColumns="False" HorizontalGridLinesBrush="#FFB0AFAF" |
100 | 112 |
AutoGenerateColumns="False" behavior:GridViewAutoWidthBehavior.IsEnabled="True" |
101 | 113 |
ItemsSource="{Binding SelectRequirement.VpComments}" |
114 |
HorizontalAlignment="Left" Height="Auto" |
|
102 | 115 |
ShowGroupPanel="False" SelectedItem="{Binding SelectVPComment, Source={StaticResource ViewModel}}" |
103 | 116 |
IsReadOnly="True" VerticalAlignment="Top"> |
104 | 117 |
<i:Interaction.Triggers> |
... | ... | |
107 | 120 |
</i:EventTrigger> |
108 | 121 |
</i:Interaction.Triggers> |
109 | 122 |
<telerik:RadGridView.Columns> |
110 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding createdByName}" Width="120" IsFilterable="False" IsReadOnly="True" |
|
123 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding createdByName}" HeaderTextAlignment="Center" Width="120" IsFilterable="False" IsReadOnly="True"
|
|
111 | 124 |
Header="Create User" /> |
112 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding comment}" Width="200" TextAlignment="Left" IsReadOnly="True" TextTrimming="CharacterEllipsis" IsFilterable="False"
|
|
125 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding comment}" HeaderTextAlignment="Center" Width="*" TextAlignment="Left" IsReadOnly="True" TextTrimming="CharacterEllipsis" IsFilterable="False"
|
|
113 | 126 |
Header="Comment" /> |
114 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding condition,Mode=TwoWay}" Header="Condition" Width="Auto" IsReadOnly="True"/> |
|
115 |
<telerik:GridViewDataColumn Width="Auto" Header="연결 제거" IsFilterable="False" IsReadOnly="True"> |
|
127 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding condition,Mode=TwoWay}" HeaderTextAlignment="Center" Header="Condition" Width="90" IsReadOnly="True"> |
|
128 |
<telerik:GridViewDataColumn.CellStyle> |
|
129 |
<Style TargetType="telerik:GridViewCell"> |
|
130 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|
131 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|
132 |
<Setter Property="Margin" Value="0"/> |
|
133 |
<Setter Property="Padding" Value="0"/> |
|
134 |
</Style> |
|
135 |
</telerik:GridViewDataColumn.CellStyle> |
|
136 |
</telerik:GridViewDataColumn> |
|
137 |
<telerik:GridViewDataColumn Width="64" Header="연결 제거" IsFilterable="False" IsReadOnly="True"> |
|
116 | 138 |
<telerik:GridViewDataColumn.CellTemplate> |
117 | 139 |
<DataTemplate> |
118 | 140 |
<telerik:RadPathButton ToolTip="Delete Comment" Height="22" Width="22" |
... | ... | |
126 | 148 |
</telerik:RadGridView.Columns> |
127 | 149 |
</telerik:RadGridView> |
128 | 150 |
</Grid> |
129 |
</telerik:RadLayoutControl>
|
|
151 |
</Grid>
|
|
130 | 152 |
</UserControl> |
내보내기 Unified diff