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