When I use the mouse on the [MouseMove] event, I can retrieve a value if I am in Columns, details, and scroll?
I have a problem with ListView DoDragDrop not allow me to slide the scrool or columns.
Code:
private void lvwDetalle_MouseMove(object sender, MouseEventArgs e)
{
if (this.mouseDown && !this.dragged) {
Point pt = this.lvwDetalle.PointToClient(Control.MousePosition);
this.dragged = true;
List<ListViewDataItem> selectedItems =
this.lvwDetalle.SelectedItems.ToList<ListViewDataItem>();
if (selectedItems.Count > 0) {
//DragDropEffects.
this.lvwDetalle.DoDragDrop(selectedItems, DragDropEffects.Move);
}
}
}
I have a problem with ListView DoDragDrop not allow me to slide the scrool or columns.
Code:
private void lvwDetalle_MouseMove(object sender, MouseEventArgs e)
{
if (this.mouseDown && !this.dragged) {
Point pt = this.lvwDetalle.PointToClient(Control.MousePosition);
this.dragged = true;
List<ListViewDataItem> selectedItems =
this.lvwDetalle.SelectedItems.ToList<ListViewDataItem>();
if (selectedItems.Count > 0) {
//DragDropEffects.
this.lvwDetalle.DoDragDrop(selectedItems, DragDropEffects.Move);
}
}
}