Thursday, 31 July 2014

Control Events For Developing Windows Apps Using XAML

Click:- Occurs when a control is clicked. In some cases, this event also occurs when a user
             presses the Enter key.

Drop:- Occurs when a drag-and-drop operation is completed — in other words, when an
            object has been dragged over the control, and the user releases the mouse button.

DragEnter:- Occurs when an object being dragged enters the bounds of the control.

DragLeave:- Occurs when an object being dragged leaves the bounds of the control.

DragOver:- Occurs when an object has been dragged over the control.

KeyDown:- Occurs when a key is pressed while the control has focus. This event always occurs
                    before KeyPress and KeyUp.

KeyUp:- Occurs when a key is released while a control has focus. This event always occurs
                after KeyDown event.

GotFocus:- Occurs when a control receives focus. Do not use this event to perform validation
                    of controls. Use Validating and Validated instead.

LostFocus:- Occurs when a control loses focus. Do not use this event to perform validation of
                     controls. Use Validating and Validated instead.

MouseDoubleClick:- Occurs when a control is double-clicked.

MouseDown:- Occurs when the mouse pointer is over a control and a mouse button is pressed.
                         This is not the same as a Click event because MouseDown occurs as soon as the
                         button is pressed and before it is released.

MouseMove:- Occurs continually as the mouse travels over the control.

MouseUp:- Occurs when the mouse pointer is over a control and a mouse button is released.



No comments:

Post a Comment