[bcl] Remove System.Activities.Presentation folder from referencesource
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / VerticalConnector.xaml.cs
diff --git a/mcs/class/referencesource/System.Activities.Presentation/System.Activities.Presentation/System/Activities/Presentation/VerticalConnector.xaml.cs b/mcs/class/referencesource/System.Activities.Presentation/System.Activities.Presentation/System/Activities/Presentation/VerticalConnector.xaml.cs
deleted file mode 100644 (file)
index 577cca9..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="VerticalConnector.xaml.cs" company="Microsoft Corporation">
-//      Copyright (c) Microsoft Corporation.  All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace System.Activities.Presentation
-{
-    using System.Activities.Presentation;
-    using System.Activities.Presentation.Hosting;
-    using System.Activities.Presentation.Model;
-    using System.Activities.Statements;
-    using System.Windows;
-    using System.Windows.Media.Animation;
-
-    internal partial class VerticalConnector
-    {
-        public VerticalConnector()
-        {
-            this.InitializeComponent();
-        }
-
-        protected override void OnDragEnter(DragEventArgs e)
-        {
-            this.CheckAnimate(e, "Expand");
-            this.dropTarget.Visibility = Visibility.Visible;
-        }
-
-        protected override void OnDragLeave(DragEventArgs e)
-        {
-            this.CheckAnimate(e, "Collapse");
-            this.dropTarget.Visibility = Visibility.Collapsed;
-        }
-
-        protected override void OnDrop(DragEventArgs e)
-        {
-            this.dropTarget.Visibility = Visibility.Collapsed;
-            base.OnDrop(e);
-        }
-
-        private void CheckAnimate(DragEventArgs e, string storyboardResourceName)
-        {
-            if (!e.Handled)
-            {
-                BeginStoryboard((Storyboard)this.Resources[storyboardResourceName]);
-                return;
-            }
-        }
-    }
-}