Description
Description | Event | Description |
|---|---|
| MouseUp | Raised when the Mouse pointer over the control |
| MouseDown | Raised when the Mouse button released |
| MouseEnter | Raised when the Mouse pointer enters the control |
| MouseHover | Raised when the Mouse pointer moves on the control |
| MouseLeave | Raised when the Mouse pointer leaves the control |
| Properties | Description |
|---|---|
| Click | Indicates the Number of Clicks |
| X | Indicates the x-Coordinates of the mouse click |
| Y | Indicates the y-Coordinates of the mouse click |
| Buttons | Indicates the mouse button pressed |
Description | Event | Description |
|---|---|
| KeyUp | Raised when the Key is released |
| KeyDown | Raised when the Key is pressed down |
| KeyPress | Raised when the Key is pressed |
| Properties | Description |
|---|---|
| KeyData | Used to store the Key Data for the Event |
| KeyCode | Used to store the Key Code for the Event |
| Handled | Used to check whether the event is handled or not |
| KeyValue | Used to store the Key Value for the Event |
| KeyChar | Used to store the Character related to that key which is pressed for the Event |
Example | Control | Property |
|---|---|
| Textbox1 | Id as txtName |
| Textbox2 | Id as txtMobile |
| Textbox3 | Id as txtEmail |
| Textbox4 | Id as txtCity |
| Label1 | Id as lblName Text as Name |
| Label2 | Id as lblMobile Text as Mobile No |
| Label3 | Id as lblEmail Text as Email Id |
| Label4 | Id as lblCity Text as City |
| Button | Id as btnSubmit Text as Submit |
Programming
Tips