프로젝트

일반

사용자정보

개정판 b119eeaa

IDb119eeaa2a1437cd39d1e5c384764e5dc8d463d0
상위 67df8dcd
하위 344ac7ed

김태성이(가) 약 5년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)