ProcessInputEventArgs.PeekInput Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public StagingAreaInputItem PeekInput()

Return Value

Type: System.Windows.Input.StagingAreaInputItem

The input event that is on the top of the staging area stack.

The return value will be null if the staging area is empty.


for getting the top input. Associated enumerations: PermissionState.Unrestricted

.NET Framework
Available since 3.0
Return to top