0
代码隐藏创建的DataGrid这是一个DataGrid在XAML:与绑定
ItemsSource="{Binding Path=NewContactList,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" ItemsPanel="{StaticResource panelTemplate}"
ItemTemplate="{StaticResource ListTemplate}"
DragDrop:DragDropHelper.IsDragSource="true"
DragDrop:DragDropHelper.IsDropTarget="true"
DragDrop:DragDropHelper.DragDropTemplate="{StaticResource DragTemplate}"
我想创建代码隐藏在DataGrid,但我知道如何设置绑定和我的DragDrop:DragDropHelper
有人能帮助我吗?
它适合我的问题,TY –