您好!
现在C1DataGrid控件 声明如下:
<C1DataGrid ToolTip="病人信息" HorizontalAlignment="Center" AutoGenerateColumns="False" ItemsSource="{assembly:Null}" CanUserFilter="False" CanUserSort="False" CanUserAddRows="False" CanUserRemoveRows="False" HeadersVisibility="None" GridLinesVisibility="None" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" ColumnWidth="*" MinColumnWidth="120" MinRowHeight="30" BodyRect="0,0,700,60" CurrentColumn="{assembly:Null}" CurrentRow="{assembly:Null}" BorderThickness="0,0,0,0" FontFamily="黑体" FontSize="18" FontWeight="Bold" Name="hospitalDataGrid" MinWidth="700" Height="60" IsHitTestVisible="False" xmlns="http://schemas.componentone.com/winfx/2006/xaml" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<C1DataGrid.Columns>
<DataGridTextColumn HorizontalAlignment="Center" Binding="{av:Binding Path = Name}"/>
</C1DataGrid.Columns>
</C1DataGrid>
想Drop到另一个控件中,使用 IDataObject iDo = e.Data 获取的数据中没有
<C1DataGrid.Columns>
<DataGridTextColumn HorizontalAlignment="Center" Binding="{av:Binding Path = Name}"/>
</C1DataGrid.Columns>
请问为什么?怎么解决这个问题?
|
|