Class TouchPanel
A panel that reacts to touch gestures. Single finger taps are still reported as mouse click events.
public class TouchPanel : Panel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ITouchControl
- Inheritance
-
objectMarshalByRefObjectTouchPanel
- Implements
- Inherited Members
- Extension Methods
Constructors
TouchPanel()
Creates a new touch panel.
public TouchPanel()
Methods
Dispose(bool)
Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
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