Table of Contents

Class TouchPanel

Namespace
NanoByte.Common.Controls.Touch
Assembly
NanoByte.Common.WinForms.dll

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
object
MarshalByRefObject
TouchPanel
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

disposing bool

true 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

m Message

The Windows Message to process.

Events

ManipulationCompleted

Raised when a manipulation gesture (including any inertia) ends.

public event EventHandler<ManipulationEventArgs> ManipulationCompleted

Event Type

EventHandler<ManipulationEventArgs>

ManipulationStarted

Raised when a manipulation gesture (translation, scaling and/or rotation) begins.

public event EventHandler<ManipulationEventArgs> ManipulationStarted

Event Type

EventHandler<ManipulationEventArgs>

ManipulationUpdated

Raised when a manipulation gesture changes.

public event EventHandler<ManipulationEventArgs> ManipulationUpdated

Event Type

EventHandler<ManipulationEventArgs>