Share via


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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

Buttons Class
Button Enumeration
Buttons Members
Microsoft.SPOT.Input Namespace