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)

member PeekInput : unit -> StagingAreaInputItem

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 a null reference (Nothing in Visual Basic) if the staging area is empty.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft