Buttons Members
The following tables list the members exposed by the Buttons type.
Public Constructors
Name | Description | |
---|---|---|
Buttons | Initializes a new instance of the Buttons class. |
Public 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. |
Public 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. |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Focus | Moves the button focus to a specified display element. | |
GetButtonState | Gets the state of a specified button. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsButtonDown | Determines whether a specifed 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). | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |