NotifyInputEventHandler 委托

定义

表示将处理 PreNotifyInputPostNotifyInput 事件的方法。Represents the method that will handle PreNotifyInput and PostNotifyInput events.

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

参数

sender
Object

事件源。The source of the event.

e
NotifyInputEventArgs

事件数据。The event data.

继承
NotifyInputEventHandler

注解

输入临时区域处理到事件中WPFWPF的输入。The input staging area processes input into WPFWPF events.

NotifyInputEventHandler 与和PostNotifyInput事件一起使用。 PreNotifyInputThe NotifyInputEventHandler is used with the PreNotifyInput and PostNotifyInput events.

输入在以下阶段WPFWPF的中进行处理:Input is processed in WPFWPF in the follow stages:

  1. 预处理阶段。Pre-process stage. 输入管理器引发PreProcessInput事件。The input manager raises the PreProcessInput event.

  2. 预先通知阶段。Pre-notify stage. 输入管理器引发PreNotifyInput事件。The input manager raises the PreNotifyInput event.

  3. 引发WPFWPF输入事件。The WPFWPF input event or events are raised.

  4. 通知后阶段。Post-notify stage. 输入管理器引发PostNotifyInput事件。The input manager raises the PostNotifyInput event.

  5. 后处理阶段。Post-process stage. 输入管理器引发PostProcessInput事件。The input manager raises the PostProcessInput event.

扩展方法

GetMethodInfo(Delegate)

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

适用于

另请参阅