Ink Input
The stylus used on Tablet PCs and other ink-enabled systems has its own set of events. Table 4-3 shows the ink input events offered by user interface elements.
Table 4-3. Stylus and ink events
Event | Routing | Meaning |
|---|---|---|
| Bubble | Element captured stylus. |
| Bubble | Element lost stylus capture. |
| Tunnel, Bubble | Stylus button pressed while over element. |
| Tunnel, Bubble | Stylus button released while over element. |
| Tunnel, Bubble | Stylus touched screen while over element. |
| Tunnel, Bubble | Stylus left screen while over element. |
| Direct | Stylus moved into element. |
| Direct | Stylus left element. |
| Tunnel, Bubble | Stylus moved close enough to screen to be detected. |
| Tunnel, Bubble | Stylus moved out of detection range. |
| Tunnel, Bubble | Stylus moved while over element. |
| Tunnel, Bubble | Stylus moved while over element but not in contact with screen. |
| Tunnel, Bubble | Stylus performed a gesture. |
| Tunnel, Bubble | Element received text input. |
The Stylus class provides a
static Capture method that works
exactly the same as the Mouse.Capture
method described earlier. It also offers Captured and DirectlyOver properties that do the ...