Click or drag to resize
IPushButton Interface
The interface for a basic push button.

Namespace: Microsoft.IoT.DeviceCore.Input
Assembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IPushButton : IDevice, 
	IClosable

The IPushButton type exposes the following members.

Properties
  NameDescription
Public propertyClickMode
Gets or sets a value that indicates when the Click event occurs.
Public propertyIsPressed
Gets a value that indicates if the button is pressed.
Top
Methods
  NameDescription
Public methodClose
Releases system resources that are exposed by a Windows Runtime object.
(Inherited from IClosable.)
Top
Events
  NameDescription
Public eventClick
Occurs when the button is clicked.
Public eventPressed
Occurs when the button is pressed.
Public eventReleased
Occurs when the button is released.
Top
See Also