Exemple #1
0
        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);
        }
Exemple #2
0
 private void WindowContainer_PreviewDrop(object sender, System.Windows.DragEventArgs e)
 {
     FileDropPreview.BeginAnimation(OpacityProperty, dopacity);
 }
Exemple #3
0
 private void Window_DragLeave(object sender, System.Windows.DragEventArgs e)
 {
     FileDropPreview.BeginAnimation(OpacityProperty, dInvOpacity);
 }