Esempio n. 1
0
 /// <summary>
 /// Raises the DragStarted event.
 /// </summary>
 /// <param name='args'>
 /// Arguments.
 /// </param>
 protected virtual void OnDragStarted(DragStartedEventArgs args)
 {
     if (dragStarted != null)
         dragStarted (this, args);
 }
Esempio n. 2
0
 protected DragStartData InternalDragStarted()
 {
     DragStartedEventArgs args = new DragStartedEventArgs ();
     args.DragOperation = new DragOperation (this);
     currentDragOperation = args.DragOperation;
     OnDragStarted (args);
     return args.DragOperation.GetStartData ();
 }