Share via


Buttons Members

The following tables list the members exposed by the Buttons type.

Public Constructors

Name Description
Public Method Buttons Initializes a new instance of the Buttons class.

Public Fields

Name Description
Public Field Static ButtonDownEvent Specifies the bubbling-routed event that occurs when a button on a button device is pressed.
Public Field Static ButtonUpEvent Specifies the bubbling-routed event that occurs when a button on a button device is released.
Public Field Static GotFocusEvent Specifies the bubbling-routed event that occurs when a display element on a button device receives the button focus.
Public Field Static LostFocusEvent Specifies the bubbling-routed event that occurs when a display element on a button device loses the button focus.
Public Field Static PreviewButtonDownEvent Specifies the tunneling-routed event that occurs when a button on a button device is pressed.
Public Field Static PreviewButtonUpEvent Specifies the tunneling-routed event that occurs when a button on a button device is released.

Public Properties

Name Description
Public Property Static FocusedElement Gets the display element that currently has the button focus.
Public Property Static PrimaryDevice Gets the primary button input device with which the current Buttons object is associated.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method Static Focus Moves the button focus to a specified display element.
Public Method Static GetButtonState Gets the state of a specified button.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Static IsButtonDown Determines whether a specifed button is currently pressed down.
Public Method Static IsButtonHeld Determines whether the specified button is currently being held down.
Public Method Static IsButtonUp Determines whether a specified button is currently in the up position (that is, not pressed down).
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Buttons Class
Microsoft.SPOT.Input Namespace