public async Task <DropEventArgs> DoDragDrop(object data) { dragDropTcs = new TaskCompletionSource <DropEventArgs>(); this.IsDragging = true; this.dragObject = data; VisualProvider?.ShowVisual(data, CursorHelper.GetRawCursorPosition()); return(await dragDropTcs.Task); }
public void FollowMouse() { FollowMouse(CursorHelper.GetRawCursorPosition()); }
public ContextMenu() : this(CursorHelper.GetRawCursorPosition()) { }