Skip to content

Commit 887a588

Browse files
Updated the Comments
Added comment to clarify row drop restrictions.
1 parent e1ede06 commit 887a588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpf/DataGrid/drag-and-drop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ this.sfDataGrid.RowDragDropController.Drop += RowDragDropController_Drop;
202202
private void RowDragDropController_Drop(object sender, GridRowDropEventArgs e)
203203
{
204204
int recordIndex = (int)e.TargetRecord;
205-
205+
//You can restrict the dropping for certain rows based on the target record index.
206206
if (recordIndex > 5)
207207
e.Handled = true;
208208
}

0 commit comments

Comments
 (0)