MouseLeftButtonDown and MouseLeftButtonUp in Silverlight

Difference between MouseLeftButtonDown and MouseLeftButtonUp in Silverlight.

- The difference is the action of the button. Once mouse button is pressed MouseLeftButtonDown event is invoked and MouseLeftButtonUp event is invoked after pressing left mouse button down and release it.

- The MouseLeftButtonUp event is raised when the left mouse button is released while the mouse pointer is over the object. The MouseLeftButtonDown event is raised when the mouse button is pressed.

- If the mouse pointer is moved over another object when the button is released, the object that received the MouseLeftButtonDown event will not receive the MouseLeftButtonUp event.

- There is no discrete double-click event. Two sequences are consisted in a double-click of MouseLeftButtonDown and MouseLeftButtonUp events.

- The MouseLeftButtonUp event is a bubbling event. It means that if a multiple MouseLeftButtonUp events are defined for a tree of elements, the event is received by each object in the object hierarchy, starting with the object that directly receives the event, and then bubbles to each successive parent element.

- The bubbling metaphor indicates that the event starts at the bottom and works its way up the object tree.

- The sender parameter identifies the object for a bubbling event where the event is handled, not necessarily the object that actually received the input condition that initiated the event.
What is the function used for removing an event listener?
The method removeEventListener() is used for deleting an event listener...
How would you implement Drag-and-drop in Silverlight?
Drag and drop in Silverlight can be implemented by using Drag Drop Manager by using DragSource and DropTarget controls...
Properties of the eventArgs argument when capturing keyboard events - Silverlight
The properties of eventArgs are types of keys like shift, ctrl and mouse actions, mouse pointer coordinates, x coordinate value, y coordinate value...
Post your comment