Manages all the input systems in Windows Presentation Foundation (WPF).
public ref class InputManager sealed : System::Windows::Threading::DispatcherObject
public sealed class InputManager : System.Windows.Threading.DispatcherObject
type InputManager = class inherit DispatcherObject
Public NotInheritable Class InputManager Inherits DispatcherObject
The InputManager class is responsible for coordinating all of the input systems in WPF.
The InputManager controls the input staging area. The input staging area processes input into Windows Presentation Foundation (WPF) events.
Input is processed in WPF in the follow stages:
Pre-process stage. The input manager raises the PreProcessInput event.
Pre-notify stage. The input manager raises the PreNotifyInput event.
The WPF input event or events are raised.
Post-notify stage. The input manager raises the PostNotifyInput event.
Post-process stage. The input manager raises the PostProcessInput event.
Gets the InputManager associated with the current thread.
Gets a value that indicates whether this ComponentDispatcher is in menu mode.
Gets a value that represents the input device associated with the most recent input event.
Gets the primary keyboard device.
Gets the primary mouse device.
Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Called by components to leave menu mode.
Processes the specified input synchronously.
Called by components to enter menu mode.
Returns a string that represents the current object.(Inherited from Object)
Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject)
Occurs when a control enters menu mode by calling the PushMenuMode(PresentationSource) method.
Occurs when the result of a hit-test may have changed.
Occurs when a control leaves menu mode by calling the PopMenuMode(PresentationSource) method.
Occurs after the PreNotifyInput handlers have finished processing the input and the corresponding Windows Presentation Foundation (WPF) events have been raised.
Occurs after the PreNotifyInput handlers have finished processing the input.
Occurs when the PreProcessInput handlers have finished processing the input, if the input was not canceled.
Occurs when the InputManager starts to process the input item.