Exemplo n.º 1
0
 public static bool DragStartedWithin(this IMouseEventArgs e, IRectangle area) =>
 e.State.HasFlag(MouseState.DragBegin) && area.Has(e.StartPoint);