DragViewSample
DragViewSample copied to clipboard
X and Y attributes don't work
Hi, I'm trying to get the position of my DraggableView on DragEnd method in this way:
private void xVero_DragEnd(object sender, System.EventArgs e)
{
DraggableView s = sender as DraggableView;
Console.WriteLine(s.X);
Console.WriteLine(s.Y);
}
But it print all time the same value (I think because the drag is made only on graphic side and not on the view totally), how can I make this work?

My Intent: "VERO" (true) and "FALSO" (false) are two token that need to be placed over the "gray hole" to answer the question on the top