29 lines
864 B
C#
29 lines
864 B
C#
using Lattice.Core.DragDrop.Models;
|
||
using Lattice.Core.Geometry;
|
||
|
||
namespace Lattice.Core.DragDrop.Services;
|
||
|
||
/// <summary>
|
||
/// Аргументы события начала перетаскивания.
|
||
/// </summary>
|
||
public class DragStartedEventArgs : EventArgs
|
||
{
|
||
/// <summary>
|
||
/// Информация о перетаскивании.
|
||
/// </summary>
|
||
public DragInfo DragInfo { get; }
|
||
|
||
/// <summary>
|
||
/// Начальная позиция перетаскивания.
|
||
/// </summary>
|
||
public Point StartPosition { get; }
|
||
|
||
/// <summary>
|
||
/// Инициализирует новый экземпляр класса <see cref="DragStartedEventArgs"/>.
|
||
/// </summary>
|
||
public DragStartedEventArgs(DragInfo dragInfo, Point startPosition)
|
||
{
|
||
DragInfo = dragInfo;
|
||
StartPosition = startPosition;
|
||
}
|
||
} |