Buttons.IsButtonUp Method
Determines whether a specified button is currently in the up position (that is, not pressed down).
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public static bool IsButtonUp (
Buttonbutton
)
Parameters
- button
A value of the Button enumeration that identifies the button whose current state you want to determine.
Return Value
true if the specified button is not currently pressed down; otherwise, false.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Buttons Class
Button Enumeration
Buttons Members
Microsoft.SPOT.Input Namespace