Show / Hide Table of Contents

Class TouchPanel

Represents a panel that reacts to touch input on Windows 7 or newer.

Inheritance
Object
TouchPanel
Implements
ITouchControl
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public class TouchPanel : Panel, ITouchControl

Constructors

TouchPanel()

Declaration
public TouchPanel()

Properties

CreateParams

Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type Description
CreateParams

Methods

CreateHandle()

Declaration
protected override void CreateHandle()

WndProc(ref Message)

Declaration
protected override void WndProc(ref Message m)
Parameters
Type Name Description
Message m

Events

TouchDown

Raised when the user begins touching the screen.

Declaration
public event EventHandler<TouchEventArgs> TouchDown
Event Type
Type Description
EventHandler<TouchEventArgs>

TouchMove

Raised when the user moves fingers while touching the screen.

Declaration
public event EventHandler<TouchEventArgs> TouchMove
Event Type
Type Description
EventHandler<TouchEventArgs>

TouchUp

Raised when the user stops touching the screen.

Declaration
public event EventHandler<TouchEventArgs> TouchUp
Event Type
Type Description
EventHandler<TouchEventArgs>

Implements

ITouchControl

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher