Class TouchForm
Represents a window that reacts to touch input on Windows 7 or newer.
public class TouchForm : Form, ITouchControl
- Inheritance
-
TouchForm
- 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 the handle for the form. If a derived class overrides this function, it must call the base implementation.
protected override void CreateHandle()
Exceptions
- InvalidOperationException
A handle for this Form has already been created.
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