StylusButtonState 열거형

정의

StylusButton의 상태를 나타냅니다.

public enum class StylusButtonState
public enum StylusButtonState
type StylusButtonState = 
Public Enum StylusButtonState
상속
StylusButtonState

필드

Down 1

단추가 눌러진 상태입니다.

Up 0

단추가 활성 상태입니다.

예제

다음 예제에서는의 상태를 확인 하는 방법에 설명 된 StylusButton합니다.

// Get the state of the StylusButton
switch (myStylusButton.StylusButtonState)
{
    case StylusButtonState.Down:
        textbox1.AppendText("StylusButton.State: Down\n");
        break;

    default:  // StylusButtonState.Up
        textbox1.AppendText("StylusButton.State: Up\n");
        break;
}
' Get the state of the StylusButton
Select Case myStylusButton.StylusButtonState
    Case StylusButtonState.Down
        textbox1.AppendText("StylusButton.State: Down" + vbCrLf)
    Case Else ' StylusButtonState.Up
        textbox1.AppendText("StylusButton.State: Up" + vbCrLf)
End Select

적용 대상