Browse Source

DragDrop is now a static class

boombuler 7 years ago
parent
commit
50212da915
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Controls/DragDrop/DragDrop.cs

+ 1 - 1
src/Avalonia.Controls/DragDrop/DragDrop.cs

@@ -2,7 +2,7 @@
 
 namespace Avalonia.Controls.DragDrop
 {
-    public sealed class DragDrop : AvaloniaObject
+    public static class DragDrop
     {
         public static RoutedEvent<DragEventArgs> DragEnterEvent = RoutedEvent.Register<DragEventArgs>("DragEnter", RoutingStrategies.Bubble, typeof(DragDrop));
         public static RoutedEvent<RoutedEventArgs> DragLeaveEvent = RoutedEvent.Register<RoutedEventArgs>("DragLeave", RoutingStrategies.Bubble, typeof(DragDrop));