StylusButton 클래스

정의

스타일러스의 단추를 나타냅니다.

public ref class StylusButton
public class StylusButton
type StylusButton = class
Public Class StylusButton
상속
StylusButton

예제

다음 사용자 스타일러스에서 스타일러스의 펜 단추를 눌렀는지 여부를 확인 합니다.

void OnStylusButtonDown(object sender, StylusButtonEventArgs e)
{
    StylusButton myStylusButton = e.StylusButton;

    if (myStylusButton.Guid == StylusPointProperties.BarrelButton.Id)
    {
        // the barrel button on the stylus has been pressed
    }
}
Private Sub OnStylusButtonDown(ByVal sender As Object, ByVal e As StylusButtonEventArgs)

    Dim myStylusButton As StylusButton = e.StylusButton
    If myStylusButton.Guid = StylusPointProperties.BarrelButton.Id Then
        ' the barrel button on the stylus has been pressed
    End If
End Sub

속성

Guid

스타일러스 단추를 나타내는 Guid를 가져옵니다.

Name

스타일러스 단추의 이름을 가져옵니다.

StylusButtonState

스타일러스 단추의 상태를 가져옵니다.

StylusDevice

이 단추가 속한 스타일러스를 가져옵니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

StylusButton의 문자열 표현을 만듭니다.

적용 대상