Skip to content

Commit ff26c21

Browse files
ES-975464 - Addressed the concerns
1 parent c4e0e06 commit ff26c21

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

DragDropDataGridToTreeGrid.png

89.8 KB
Loading

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# How to drag and drop rows between datagrid and treegrid in wpf
1+
# How to Drag and Drop Rows Between WPF DataGrid and WPF TreeGrid?
22

3-
This example illustrates how to drag and drop rows between [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) and [WPF TreeGrid](https://www.syncfusion.com/wpf-controls/treegrid).
3+
This example illustrates how to drag and drop rows between [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid) and [WPF TreeGrid](https://www.syncfusion.com/wpf-controls/treegrid) (SfTreeGrid).
44

5-
To perform the dragging operation between `SfDataGrid` and `SfTreeGrid` by using the [GridRowDragDropController.Drop](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridRowDragDropController.html#Syncfusion_UI_Xaml_Grid_GridRowDragDropController_Drop) and [TreeGridRowDragDropController.Drop](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.TreeGridRowDragDropController.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridRowDragDropController_Drop) events.
5+
To perform the dragging operation between DataGrid and TreeGrid by using the [GridRowDragDropController.Drop](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridRowDragDropController.html#Syncfusion_UI_Xaml_Grid_GridRowDragDropController_Drop) and [TreeGridRowDragDropController.Drop](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.TreeGridRowDragDropController.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridRowDragDropController_Drop) events.
66

77
``` c#
88
this.sfDataGrid.RowDragDropController.Drop += sfDataGrid_Drop;
@@ -149,4 +149,6 @@ private void sfDataGrid_Drop(object sender, GridRowDropEventArgs e)
149149
e.Handled = true;
150150
}
151151
}
152-
```
152+
```
153+
154+
![Drag and drop between DataGrid and TreeGrid](DragDropDataGridToTreeGrid.png)

0 commit comments

Comments
 (0)