GraphX/GraphX.METRO.Controls/Models/EdgeSelectedEventArgs.cs

30 строки
785 B
C#
Исходник Обычный вид История

using Windows.UI.Xaml.Input;
namespace GraphX.Controls.Models
{
2015-11-02 18:03:43 +03:00
public class EdgeSelectedEventArgs : System.EventArgs
{
public EdgeControl EdgeControl { get; set; }
public PointerRoutedEventArgs Args { get; set; }
public EdgeSelectedEventArgs(EdgeControl ec, PointerRoutedEventArgs e)
: base()
{
EdgeControl = ec;
Args = e;
}
}
2015-11-02 18:03:43 +03:00
public sealed class EdgeLabelSelectedEventArgs : EdgeSelectedEventArgs
{
public IEdgeLabelControl EdgeLabelControl { get; set; }
public EdgeLabelSelectedEventArgs(IEdgeLabelControl label, EdgeControl ec, PointerRoutedEventArgs e, object nu = null)
2015-11-02 18:03:43 +03:00
: base(ec, e)
{
EdgeLabelControl = label;
}
}
}