แก้ไข

แชร์ผ่าน


ProcessInputEventArgs.PushInput Method

Definition

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

Overloads

PushInput(StagingAreaInputItem)

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

PushInput(InputEventArgs, StagingAreaInputItem)

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

Remarks

The input to place on the staging area cannot be null and it cannot already exist in the staging area.

PushInput(StagingAreaInputItem)

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

public:
 System::Windows::Input::StagingAreaInputItem ^ PushInput(System::Windows::Input::StagingAreaInputItem ^ input);
[System.Security.SecurityCritical]
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.StagingAreaInputItem input);
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.StagingAreaInputItem input);
[<System.Security.SecurityCritical>]
member this.PushInput : System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
member this.PushInput : System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
Public Function PushInput (input As StagingAreaInputItem) As StagingAreaInputItem

Parameters

input
StagingAreaInputItem

The input event to put on the staging area stack.

Returns

The staging area input item.

Attributes

Remarks

input cannot be null and it cannot already exist in the staging area.

See also

Applies to

PushInput(InputEventArgs, StagingAreaInputItem)

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

public:
 System::Windows::Input::StagingAreaInputItem ^ PushInput(System::Windows::Input::InputEventArgs ^ input, System::Windows::Input::StagingAreaInputItem ^ promote);
[System.Security.SecurityCritical]
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.InputEventArgs input, System.Windows.Input.StagingAreaInputItem promote);
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.InputEventArgs input, System.Windows.Input.StagingAreaInputItem promote);
[<System.Security.SecurityCritical>]
member this.PushInput : System.Windows.Input.InputEventArgs * System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
member this.PushInput : System.Windows.Input.InputEventArgs * System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
Public Function PushInput (input As InputEventArgs, promote As StagingAreaInputItem) As StagingAreaInputItem

Parameters

input
InputEventArgs

The input event to put on the staging area stack.

promote
StagingAreaInputItem

An existing staging area item to promote the state from.

Returns

The staging area input item that wraps the specified input.

Attributes

Remarks

input cannot be null and it cannot already exist in the staging area.

See also

Applies to