DragAndDrop core
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using Lattice.Core.DragDrop.Models;
|
||||
using Lattice.Core.Geometry;
|
||||
|
||||
namespace Lattice.Core.DragDrop.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Аргументы события завершения перетаскивания.
|
||||
/// </summary>
|
||||
public class DragCompletedEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Информация о перетаскивании.
|
||||
/// </summary>
|
||||
public DragInfo DragInfo { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Позиция завершения перетаскивания.
|
||||
/// </summary>
|
||||
public Point DropPosition { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Примененные эффекты перетаскивания.
|
||||
/// </summary>
|
||||
public Enums.DragDropEffects Effects { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Инициализирует новый экземпляр класса <see cref="DragCompletedEventArgs"/>.
|
||||
/// </summary>
|
||||
public DragCompletedEventArgs(DragInfo dragInfo, Point dropPosition, Enums.DragDropEffects effects)
|
||||
{
|
||||
DragInfo = dragInfo;
|
||||
DropPosition = dropPosition;
|
||||
Effects = effects;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user