Skip to main content

ButtonChangedEventArgs Class

Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost

The events args for the ButtonPressed and ButtonReleased events.

public class ButtonChangedEventArgs : EventArgs

Constructors​

ButtonChangedEventArgs()​

public ButtonChangedEventArgs()

Properties​

State​

public ButtonState State { get; set; }

The new state of the button.

Returns ButtonState

Which​

public Buttons Which { get; set; }

Which button changed its state.

Returns Buttons