摘要:
ContextMenu的使用下面代码的效果是右键单击图片时,显示菜单。当单击菜单的某项时,执行相应的命令。Image.RightTapped += new RightTappedEventHandler(Image_RightTapped); async void Image_RightTapped(object sender, RightTappedRoutedEventArgs e) { var menu = new PopupMenu(); menu.Commands.Add(new UICommand("Open... 阅读全文
posted @ 2012-03-27 17:09 work hard work smart 阅读(11546) 评论(0) 推荐(0) 编辑