Class TouchForm
A window that reacts to touch gestures. Single finger taps are still reported as mouse click events.
public class TouchForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ITouchControl
- Inheritance
-
objectMarshalByRefObjectTouchForm
- Implements
- Inherited Members
- Extension Methods
Constructors
TouchForm()
Creates a new touch form.
public TouchForm()
Methods
Dispose(bool)
Disposes of the resources (other than memory) used by the Form.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
WndProc(ref Message)
Processes Windows messages.
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m)
Parameters
Events
ManipulationCompleted
Raised when a manipulation gesture (including any inertia) ends.
public event EventHandler<ManipulationEventArgs> ManipulationCompleted
Event Type
ManipulationStarted
Raised when a manipulation gesture (translation, scaling and/or rotation) begins.
public event EventHandler<ManipulationEventArgs> ManipulationStarted
Event Type
ManipulationUpdated
Raised when a manipulation gesture changes.
public event EventHandler<ManipulationEventArgs> ManipulationUpdated