We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ede06 commit 887a588Copy full SHA for 887a588
wpf/DataGrid/drag-and-drop.md
@@ -202,7 +202,7 @@ this.sfDataGrid.RowDragDropController.Drop += RowDragDropController_Drop;
202
private void RowDragDropController_Drop(object sender, GridRowDropEventArgs e)
203
{
204
int recordIndex = (int)e.TargetRecord;
205
-
+ //You can restrict the dropping for certain rows based on the target record index.
206
if (recordIndex > 5)
207
e.Handled = true;
208
}
0 commit comments