mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-19 16:06:35 +08:00
29 lines
611 B
C#
29 lines
611 B
C#
using System;
|
|
using System.Windows;
|
|
|
|
namespace Dragablz
|
|
{
|
|
public class LocationChangedEventArgs : EventArgs
|
|
{
|
|
private readonly object _item;
|
|
private readonly Point _location;
|
|
|
|
public LocationChangedEventArgs(object item, Point location)
|
|
{
|
|
if (item == null) throw new ArgumentNullException("item");
|
|
|
|
_item = item;
|
|
_location = location;
|
|
}
|
|
|
|
public object Item
|
|
{
|
|
get { return _item; }
|
|
}
|
|
|
|
public Point Location
|
|
{
|
|
get { return _location; }
|
|
}
|
|
}
|
|
} |