Editare

Partajați prin


NotifyInputEventHandler Delegate

Definition

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)

Parameters

sender
Object

The source of the event.

e
NotifyInputEventArgs

The event data.

Remarks

The input staging area processes input into WPF events.

The NotifyInputEventHandler is used with the PreNotifyInput and PostNotifyInput events.

Input is processed in WPF in the follow stages:

  1. Pre-process stage. The input manager raises the PreProcessInput event.

  2. Pre-notify stage. The input manager raises the PreNotifyInput event.

  3. The WPF input event or events are raised.

  4. Post-notify stage. The input manager raises the PostNotifyInput event.

  5. Post-process stage. The input manager raises the PostProcessInput event.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also