I need to know the mouse position when the drop takes place. Could you
please add the following code to the control?
All in DropInfo.cs
public DropInfo()
{
...
VisualTarget = sender as UIElement;
if (VisualTarget == null)
return;
DropPosition = e.GetPosition(VisualTarget);
if (sender is ItemsControl)
...
(and change the position part in DropPosition here)
}
And add the following code to end of this class:
/// <summary>
/// Gets the mouse position relative to the VisualTarget
/// </summary>
public Point DropPosition { get; private set; }
Once again thanks,
Frank
Original issue reported on code.google.com by sportfr...@gmail.com on 7 Jun 2010 at 10:06
Original issue reported on code.google.com by
sportfr...@gmail.com
on 7 Jun 2010 at 10:06