private void RaiseElementDraggedEvent(FrameworkElement element, Point offset, ContactEventArgs e)
        {
            ElementRoutedEventArgs newEventArgs = new ElementRoutedEventArgs(element, offset, e);

            newEventArgs.RoutedEvent = ElementDraggedEvent;
            RaiseEvent(newEventArgs);
        }
예제 #2
0
 private void RaiseElementDraggedEvent(FrameworkElement element, Point offset, ContactEventArgs e)
 {
     ElementRoutedEventArgs newEventArgs = new ElementRoutedEventArgs(element, offset, e);
     newEventArgs.RoutedEvent = ElementDraggedEvent;
     RaiseEvent(newEventArgs);
 }