2014-09-16 18:14:01 +04:00
|
|
|
using Windows.UI.Xaml.Input;
|
|
|
|
|
2015-05-26 13:24:38 +03:00
|
|
|
namespace GraphX.Controls.Models
|
2014-09-16 18:14:01 +04:00
|
|
|
{
|
2015-11-02 18:03:43 +03:00
|
|
|
public class EdgeSelectedEventArgs : System.EventArgs
|
2014-09-16 18:14:01 +04:00
|
|
|
{
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
2015-11-03 15:29:52 +03:00
|
|
|
public EdgeLabelSelectedEventArgs(IEdgeLabelControl label, EdgeControl ec, PointerRoutedEventArgs e, object nu = null)
|
2015-11-02 18:03:43 +03:00
|
|
|
: base(ec, e)
|
|
|
|
{
|
|
|
|
EdgeLabelControl = label;
|
|
|
|
}
|
|
|
|
}
|
2014-09-16 18:14:01 +04:00
|
|
|
}
|