using Lattice.Core.DragDrop.Models;
using Lattice.Core.Geometry;
namespace Lattice.Core.DragDrop.Services;
///
/// Аргументы события изменения цели сброса.
///
public class DropTargetChangedEventArgs : EventArgs
{
///
/// Информация о перетаскивании.
///
public DragInfo DragInfo { get; }
///
/// Новая цель сброса.
///
public Abstractions.IDropTarget Target { get; }
///
/// Границы цели.
///
public Rect TargetBounds { get; }
///
/// Инициализирует новый экземпляр класса .
///
public DropTargetChangedEventArgs(DragInfo dragInfo, Abstractions.IDropTarget target, Rect targetBounds)
{
DragInfo = dragInfo;
Target = target;
TargetBounds = targetBounds;
}
}