PreProcessInputEventHandler 代理人

定義

代表將處理 PreProcessInput 事件的方法。Represents the method that will handle the PreProcessInput event.

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

參數

sender
Object

事件的來源。The source of the event.

e
PreProcessInputEventArgs

事件資料。The event data.

繼承
PreProcessInputEventHandler

備註

PreProcessInputEventHandlerPreProcessInput與事件搭配使用。The PreProcessInputEventHandler is used with the PreProcessInput event.

在下列階段中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.

適用於

另請參閱