using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Tango.DragAndDrop
{
///
/// Represents the attached event arguments.
///
///
///
///
public class DropEventArgs : RoutedEventArgs
{
///
/// Gets or sets the position within the droppable element.
///
public Point Position { get; set; }
///
/// Gets or sets the draggable element.
///
public FrameworkElement Draggable { get; set; }
///
/// Gets or sets the droppable element.
///
public FrameworkElement Droppable { get; set; }
///
/// Initializes a new instance of the class.
///
/// The routed event.
/// The draggable.
/// The droppable.
/// The position.
public DropEventArgs(RoutedEvent routedEvent, FrameworkElement draggable, FrameworkElement droppable, Point position)
{
RoutedEvent = routedEvent;
Draggable = draggable;
Droppable = droppable;
Position = position;
}
}
}