C# 클래스 CyrusBuilt.MonoPi.Components.Button.ButtonEventArgs

Button event arguments class.
상속: System.EventArgs
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

ButtonEventArgs() 공개 메소드

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. ///
리턴 System

IsState() 공개 메소드

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