ProcessInputEventArgs.PeekInput Method ()

 

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)

[SecurityCriticalAttribute]
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.

UIPermission

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

.NET Framework
Available since 3.0
Return to top
Show: