QueryCursorEventHandler 委托

定义

表示将处理 QueryCursorQueryCursor 事件以及 QueryCursor 附加事件的方法。Represents the method that will handle the QueryCursor and QueryCursor events, as well as the QueryCursor attached event.

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

参数

sender
Object

事件处理程序所附加到的对象。The object where the event handler is attached.

e
QueryCursorEventArgs

事件数据。The event data.

继承
QueryCursorEventHandler

注解

此委托与以下附加事件一起使用。This delegate is used with the following attached events.

此委托与以下路由事件一起使用。This delegate is used with the following routed events. 这些路由事件转发前面列出的附加事件, 使其更易于访问中WPFWPF的常规元素模型。These routed events forward the previously listed attached events to make them more accessible to the general element model in WPFWPF.

附加事件和基本元素路由事件共享其事件数据, 路由事件的冒泡和隧道版本也共享事件数据。The attached events and the base element routed events share their event data, and the bubbling and tunneling versions of the routed events also share event data. 这可能会影响事件在传输事件路由时的已处理特性。This can affect the handled characteristics of the event as it travels the event route. 有关详细信息, 请参阅输入概述For details, see Input Overview.

扩展方法

GetMethodInfo(Delegate)

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

适用于

另请参阅