개정판 b119eeaa
MARKUS LINK BUTTON 수정
Change-Id: Ieef26e9aaa02baf31188d1b9f6ca0b73ebeb544d
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml | ||
---|---|---|
12 | 12 |
mc:Ignorable="d" Background="White" DataContext="{DynamicResource DataBaseItemsModel}" |
13 | 13 |
d:DesignHeight="450" d:DesignWidth="800"> |
14 | 14 |
<UserControl.Resources> |
15 |
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle"> |
|
16 |
<Setter Property="Margin" Value="0"/> |
|
17 |
<Setter Property="Padding" Value="0"/> |
|
18 |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> |
|
19 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
|
20 |
</Style> |
|
15 | 21 |
<Style TargetType="{x:Type telerik:GridViewHeaderCell}"> |
16 | 22 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
17 | 23 |
<Setter Property="Background" Value="Gray"/> |
... | ... | |
77 | 83 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
78 | 84 |
<telerik:GridViewDataColumn Header="Convert ID " |
79 | 85 |
DataMemberBinding="{Binding ConvertID}" MinWidth="180" /> |
80 |
<telerik:GridViewDataColumn x:Name="commend" Header="MarkusLink " MinWidth="100"> |
|
86 |
<telerik:GridViewDataColumn x:Name="commend" Header="MarkusLink " MinWidth="100" CellStyle="{StaticResource StretchCellStyle}">
|
|
81 | 87 |
<telerik:GridViewDataColumn.CellTemplate> |
82 | 88 |
<DataTemplate> |
83 |
<telerik:RadButton Content="Click " Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
89 |
<telerik:RadButton Content="Click" BorderThickness="0" |
|
90 |
Background="Transparent" |
|
91 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
84 | 92 |
</DataTemplate> |
85 | 93 |
</telerik:GridViewDataColumn.CellTemplate> |
86 | 94 |
</telerik:GridViewDataColumn> |
... | ... | |
157 | 165 |
|
158 | 166 |
<telerik:GridViewDataColumn Header="Convert ID " |
159 | 167 |
DataMemberBinding="{Binding ConvertID}" MinWidth="180" /> |
160 |
|
|
161 |
<telerik:GridViewDataColumn Header="MarkusLink " MinWidth="100"> |
|
168 |
|
|
169 |
<telerik:GridViewDataColumn Header="MarkusLink " MinWidth="100" CellStyle="{StaticResource StretchCellStyle}">
|
|
162 | 170 |
<telerik:GridViewDataColumn.CellTemplate> |
163 | 171 |
<DataTemplate> |
164 | 172 |
<!--<telerik:RadButton Content="Click " Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding ElementName=dataGrid2, Path=SelectedItems}"/>--> |
165 |
<telerik:RadButton Content="Click " Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
173 |
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent" |
|
174 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
166 | 175 |
</DataTemplate> |
167 | 176 |
</telerik:GridViewDataColumn.CellTemplate> |
168 | 177 |
</telerik:GridViewDataColumn> |
내보내기 Unified diff