示例#1
0
 private async void Grid_Drop(object sender, DragEventArgs e)
 {
     DragLeave.Begin();
     if (e.DataView.Contains(StandardDataFormats.StorageItems))
     {
         AddAttachement((await e.DataView.GetStorageItemsAsync()).First() as StorageFile);
     }
 }
示例#2
0
 private void rectangle_DragLeave(object sender, DragEventArgs e)
 {
     DragLeave.Begin();
 }