Manages all the input systems in Windows Presentation Foundation (WPF).
Assembly: PresentationCore (in PresentationCore.dll)
Thetype exposes the following members.
|Current||Gets the associated with the current thread.|
|Dispatcher||Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)|
|InputProviders||Gets a collection of InputProviders registered with the .|
|IsInMenuMode||Gets a value that indicates whether this ComponentDispatcher is in menu mode.|
|MostRecentInputDevice||Gets a value that represents the input device associated with the most recent input event.|
|PrimaryKeyboardDevice||Gets the primary keyboard device.|
|PrimaryMouseDevice||Gets the primary mouse device.|
|CheckAccess||Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|PopMenuMode||Called by components to leave menu mode.|
|ProcessInput||Processes the specified input synchronously.|
|PushMenuMode||Called by components to enter menu mode.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|VerifyAccess||Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)|
|EnterMenuMode||Occurs when a control enters menu mode by calling the PushMenuMode method.|
|HitTestInvalidatedAsync||Occurs when the result of a hit-test may have changed.|
|LeaveMenuMode||Occurs when a control leaves menu mode by calling the PopMenuMode method.|
|PostNotifyInput||Occurs after the PreNotifyInput handlers have finished processing the input and the corresponding Windows Presentation Foundation (WPF) events have been raised.|
|PostProcessInput||Occurs after the PreNotifyInput handlers have finished processing the input.|
|PreNotifyInput||Occurs when the PreProcessInput handlers have finished processing the input, if the input was not canceled.|
|PreProcessInput||Occurs when the starts to process the input item.|
The class is responsible for coordinating all of the input systems in WPF.
The 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2