Пример #1
0
 public static void AddPreviewDragMoveHandler(FrameworkElement frameworkElement, DragMoveRoutedEventHandler handler)
 {
     frameworkElement.AddRoutedHandler(PreviewDragMoveEvent, handler);
 }
Пример #2
0
        public static void AddDragLeaveHandler(FrameworkElement frameworkElement, RoutedEventHandler handler)
        {
            AddDragEnterOverLeaveHandler(frameworkElement, handler);

            frameworkElement.AddRoutedHandler(DragLeaveEvent, handler);
        }
Пример #3
0
 public static void AddDragStartedHandler(FrameworkElement frameworkElement, DragStartedRoutedEventHandler handler)
 {
     frameworkElement.AddRoutedHandler(DragStartedEvent, handler);
 }
Пример #4
0
 public static void AddPreviewDragOverHandler(FrameworkElement frameworkElement, RoutedEventHandler handler)
 {
     frameworkElement.AddRoutedHandler(PreviewDragOverEvent, handler);
 }