StylusEventHandler 대리자

정의

IInputElement 인터페이스를 구현하는 클래스에 대한 스타일러스 이벤트를 처리하는 메서드를 나타냅니다.

public delegate void StylusEventHandler(System::Object ^ sender, StylusEventArgs ^ e);
public delegate void StylusEventHandler(object sender, StylusEventArgs e);
type StylusEventHandler = delegate of obj * StylusEventArgs -> unit
Public Delegate Sub StylusEventHandler(sender As Object, e As StylusEventArgs)

매개 변수

sender
Object

이벤트 소스입니다.

e
StylusEventArgs

이벤트 데이터입니다.

예제

다음 예제에서는 사용 하는 방법에 설명 합니다 StylusEventHandler 대리자에 대 한 처리기를 지정 하는 StylusDown 이벤트입니다.

button1.StylusDown += new StylusDownEventHandler(button1_StylusDown);
AddHandler button1.StylusDown, AddressOf button1_StylusDown

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상