StylusDownEventHandler 委托

定义

表示处理 StylusDown 事件以及若干变体(包括对应的预览事件)的方法。Represents the method that handles the StylusDown event, as well as several variations, including the corresponding Preview event. 另外,还在基元素类中重新公开该事件。Also re-exposes the event in the base element classes.

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

参数

sender
Object

事件源。The source of the event.

e
StylusDownEventArgs

包含事件数据的 StylusDownEventArgsA StylusDownEventArgs that contains the event data. .

继承
StylusDownEventHandler

注解

通常, 此委托对应于路由事件。Typically, this delegate corresponds to a routed event. 检查事件数据 (特别是Source属性) 以确定引发事件的元素。Check the event data, in particular the Source property, to determine which element raised the event.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于