wpfdatagrid - How to move WPF DataGrid Rows using Drag and Drop? -


I have followed an example, I am completely convinced that I have copied all the codes but weirdly Can not I see any drag and drop effects?

Does anybody track the copied code?

I analyzed your code and found this issue.

The problem occurs because you have to accidentally instead of System.Windows.Controls for reference to the DataGridRow used in the following code < Code> Microsoft.Windows.Controls var line = UIHelpers.TryFindFromPoint

then modify the following reference in MainWindow.xaml.cs

  System.Windows.Controls;  

to

  using Microsoft.Windows.Controls;  

I know that it helps


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -