Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents the buttons on an input device.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Input..::..Buttons
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public NotInheritable Class Buttons
public sealed class Buttons
public ref class Buttons sealed
[<Sealed>]
type Buttons = class end
public final class Buttons
The Buttons type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
Buttons | Initializes a new instance of the Buttons class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
FocusedElement | Gets the display element that currently has the button focus. |
![]() ![]() |
PrimaryDevice | Gets the primary button input device with which the current Buttons object is associated. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() |
Focus | Moves the button focus to a specified display element. |
![]() ![]() |
GetButtonState | Gets the state of a specified button. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
IsButtonDown | Determines whether a specified button is currently pressed down. |
![]() ![]() |
IsButtonHeld | Determines whether the specified button is currently being held down. |
![]() ![]() |
IsButtonUp | Determines whether a specified button is currently in the up position (that is, not pressed down). |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
ButtonDownEvent | Specifies the bubbling-routed event that occurs when a button on a button device is pressed. |
![]() ![]() |
ButtonUpEvent | Specifies the bubbling-routed event that occurs when a button on a button device is released. |
![]() ![]() |
GotFocusEvent | Specifies the bubbling-routed event that occurs when a display element on a button device receives the button focus. |
![]() ![]() |
LostFocusEvent | Specifies the bubbling-routed event that occurs when a display element on a button device loses the button focus. |
![]() ![]() |
PreviewButtonDownEvent | Specifies the tunneling-routed event that occurs when a button on a button device is pressed. |
![]() ![]() |
PreviewButtonUpEvent | Specifies the tunneling-routed event that occurs when a button on a button device is released. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)