private void Window_Drop(object sender, System.Windows.DragEventArgs e) { if (e.Data.GetDataPresent(System.Windows.DataFormats.FileDrop)) { string[] files = (string[])e.Data.GetData(System.Windows.DataFormats.FileDrop); AddAssets(files); } FileDropPreview.BeginAnimation(OpacityProperty, dInvOpacity); }
private void WindowContainer_PreviewDrop(object sender, System.Windows.DragEventArgs e) { FileDropPreview.BeginAnimation(OpacityProperty, dopacity); }
private void Window_DragLeave(object sender, System.Windows.DragEventArgs e) { FileDropPreview.BeginAnimation(OpacityProperty, dInvOpacity); }