Table of Contents

Class TouchPadEventArgs

Namespace
nanoFramework.Hardware.Esp32.Touch
Assembly
nanoFramework.Hardware.Esp32.dll

Touch pad event arguments.

public class TouchPadEventArgs : BaseEvent
Inheritance
TouchPadEventArgs
Inherited Members
Extension Methods

Constructors

TouchPadEventArgs(int, bool)

Creates a TouchPadEventArgs.

public TouchPadEventArgs(int padNumber, bool touched)

Parameters

padNumber int

The touch pad number.

touched bool

True if touched, false is not, so if released.

Properties

PadNumber

Gets the touch pad number.

public int PadNumber { get; }

Property Value

int

Touched

Gets the touch state. True if touched, false is not, so if released.

public bool Touched { get; }

Property Value

bool