C# Class CyrusBuilt.MonoPi.Components.Button.ButtonEventArgs

Button event arguments class.
Inheritance: System.EventArgs
Afficher le fichier Open project: cyrusbuilt/MonoPi Class Usage Examples

Méthodes publiques

Méthode Description
ButtonEventArgs ( IButton button ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Button.ButtonEventArgs class with the button that is changing state.

IsState ( ButtonState state ) : System.Boolean

Determines whether the button is in state the specified state.

Method Details

ButtonEventArgs() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Button.ButtonEventArgs class with the button that is changing state.
public ButtonEventArgs ( IButton button ) : System
button IButton /// The button that is changing state. ///
Résultat System

IsState() public méthode

Determines whether the button is in state the specified state.
public IsState ( ButtonState state ) : System.Boolean
state ButtonState /// The button state to compare to. ///
Résultat System.Boolean