Class TouchPanel
Represents a panel that reacts to touch input on Windows 7 or newer.
public class TouchPanel : Panel, ITouchControl
- Inheritance
-
TouchPanel
- Implements
- Extension Methods
Properties
CreateParams
Gets the required creation parameters when the control handle is created.
protected override CreateParams CreateParams { get; }
Property Value
- CreateParams
A CreateParams that contains the required creation parameters when the handle to the control is created.
Methods
CreateHandle()
Creates a handle for the control.
protected override void CreateHandle()
Exceptions
- ObjectDisposedException
The object is in a disposed state.
WndProc(ref Message)
Processes Windows messages.
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m)
Parameters
Events
TouchDown
Raised when the user begins touching the screen.
public event EventHandler<TouchEventArgs>? TouchDown
Event Type
TouchMove
Raised when the user moves fingers while touching the screen.
public event EventHandler<TouchEventArgs>? TouchMove
Event Type
TouchUp
Raised when the user stops touching the screen.
public event EventHandler<TouchEventArgs>? TouchUp