개정판 63a36cc0
오픈시 파라미터에 CommentID가 있으면 해당 CommentID로 포커스됨
Change-Id: I2180594fa4f20d50699ce4bb081b335bda5657e5
KCOM/Views/RequirementView.xaml | ||
---|---|---|
7 | 7 |
xmlns:local="clr-namespace:KCOM.Controls" FontSize="12" |
8 | 8 |
xmlns:behavior="clr-namespace:KCOM.Behaviors" |
9 | 9 |
xmlns:viewmodel="clr-namespace:KCOM.ViewModel" |
10 |
xmlns:controls ="clr-namespace:KCOM.Controls" |
|
10 | 11 |
xmlns:convert="clr-namespace:KCOM.Converters" |
11 | 12 |
xmlns:Behaviors="clr-namespace:KCOM.Behaviors" |
12 | 13 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
... | ... | |
32 | 33 |
<RowDefinition Height="Auto"/> |
33 | 34 |
<RowDefinition/> |
34 | 35 |
</Grid.RowDefinitions> |
35 |
<Grid HorizontalAlignment="Right"> |
|
36 |
<Grid HorizontalAlignment="Right" Visibility="Collapsed">
|
|
36 | 37 |
<Grid.ColumnDefinitions> |
37 | 38 |
<ColumnDefinition/> |
38 | 39 |
<ColumnDefinition Width="4"/> |
... | ... | |
40 | 41 |
<ColumnDefinition Width="4"/> |
41 | 42 |
<ColumnDefinition/> |
42 | 43 |
</Grid.ColumnDefinitions> |
43 |
<WrapPanel Grid.Row="1" HorizontalAlignment="Left" Orientation="Horizontal" Visibility="Collapsed">
|
|
44 |
<WrapPanel Grid.Row="1" HorizontalAlignment="Left" Orientation="Horizontal"> |
|
44 | 45 |
<telerik:RadButton Content="추가" Background="#3d3d3d" Foreground="White" Margin="5,0" MinWidth="60" Command="{Binding AddVPCommentCommand}"/> |
45 | 46 |
<telerik:RadToggleButton Width="20" Height="20" Command="{Binding RefreshCommand}" Margin="3"> |
46 | 47 |
<Image Stretch="Fill" Source="/KCOM;component/Resources/Images/MenuImage/Refresh.png"/> |
... | ... | |
56 | 57 |
RowIndicatorVisibility="Collapsed" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ColumnWidth="*" |
57 | 58 |
IsExpandedBinding="{Binding IsExpanded,Mode=TwoWay}" IsExpandableBinding="{Binding IsExpandable, Mode=TwoWay}" |
58 | 59 |
GridLinesVisibility="Horizontal" HorizontalGridLinesBrush="Orange"> |
60 |
<i:Interaction.Behaviors> |
|
61 |
<Behaviors:ColumnFilterBehavior DefaultOperator="Contains"/> |
|
62 |
</i:Interaction.Behaviors> |
|
59 | 63 |
<telerik:RadGridView.ChildTableDefinitions> |
60 | 64 |
<telerik:GridViewTableDefinition/> |
61 | 65 |
</telerik:RadGridView.ChildTableDefinitions> |
62 | 66 |
<telerik:RadGridView.Columns> |
63 | 67 |
<telerik:GridViewDataColumn Header="Commant" IsReadOnly="True" IsFilterable="True" |
64 | 68 |
TextAlignment="Left" TextWrapping="WrapWithOverflow" |
65 |
DataMemberBinding="{Binding mdText,Converter={StaticResource StringMultiLineConvert}}"/> |
|
69 |
DataMemberBinding="{Binding mdText,Converter={StaticResource StringMultiLineConvert}}"> |
|
70 |
<telerik:GridViewDataColumn.CellTemplate> |
|
71 |
<DataTemplate> |
|
72 |
<controls:ExtendTextBox Text="{Binding mdText,Converter={StaticResource StringMultiLineConvert}}"/> |
|
73 |
</DataTemplate> |
|
74 |
</telerik:GridViewDataColumn.CellTemplate> |
|
75 |
</telerik:GridViewDataColumn> |
|
66 | 76 |
</telerik:RadGridView.Columns> |
67 | 77 |
<telerik:RadGridView.HierarchyChildTemplate> |
68 | 78 |
<DataTemplate> |
... | ... | |
110 | 120 |
Header="Create User" /> |
111 | 121 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding comment}" TextAlignment="Left" IsReadOnly="True" TextTrimming="CharacterEllipsis" IsFilterable="False" |
112 | 122 |
Header="Comment" /> |
113 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding condition}" Header="Condition" Width="64" IsReadOnly="True"> |
|
114 |
<telerik:GridViewDataColumn.CellTemplate> |
|
115 |
<DataTemplate> |
|
116 |
<CheckBox IsChecked="{Binding condition, Mode=TwoWay}"/> |
|
117 |
</DataTemplate> |
|
118 |
</telerik:GridViewDataColumn.CellTemplate> |
|
119 |
</telerik:GridViewDataColumn> |
|
123 |
<telerik:GridViewDataColumn DataMemberBinding="{Binding condition,Mode=TwoWay}" Header="Condition" Width="64" IsReadOnly="True"/> |
|
120 | 124 |
<telerik:GridViewDataColumn Width="24" IsFilterable="False" IsReadOnly="True"> |
121 | 125 |
<telerik:GridViewDataColumn.CellTemplate> |
122 | 126 |
<DataTemplate> |
내보내기 Unified diff