What is the difference between sender and source in wpf event handling? For example, say I had an ellipse in a canvas, and clicked on the ellipse: the ellipse would be both the sender and the source. However if the ellipse doesn't handle the event but the main window does, the event will pass through the canvas... so the canvas would be the sender of the event to the main window but the source would be the ellipse. Do I have that right? | ||||
The difference between the two is not often seen, as usually the
![]()
| |||