แก้ไข

แชร์ผ่าน


ProcessInputEventArgs Class

Definition

Provides data for postprocess input events.

public ref class ProcessInputEventArgs : System::Windows::Input::NotifyInputEventArgs
public class ProcessInputEventArgs : System.Windows.Input.NotifyInputEventArgs
type ProcessInputEventArgs = class
    inherit NotifyInputEventArgs
Public Class ProcessInputEventArgs
Inherits NotifyInputEventArgs
Inheritance
ProcessInputEventArgs
Derived

Remarks

Process input events enable access to the InputManager staging area.

The input staging area processes raw input into WPF events.

ProcessInputEventArgs is used with the PostProcessInput event.

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.

Properties

InputManager

Gets the input manager processing the input event.

(Inherited from NotifyInputEventArgs)
StagingItem

Gets the staging area input item being processed by the input manager.

(Inherited from NotifyInputEventArgs)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PeekInput()

Gets, but does not pop, the input event on the top of the staging area stack.

PopInput()

Removes the input event off the top of the staging area stack.

PushInput(InputEventArgs, StagingAreaInputItem)

Puts the specified input event onto the top of the specified staging area stack.

PushInput(StagingAreaInputItem)

Puts the specified input event onto the top of the staging area stack.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also