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