Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Windows.Input Namespace

Provides types to support the Windows Presentation Foundation (WPF) input system. This includes device abstraction classes for mouse, keyboard, and stylus devices, a common input manager class, support for commanding and custom commands, and various utility classes.

  Class Description
Public class AccessKeyEventArgs Provides information for access keys events.
Public class AccessKeyManager Maintains the registration of all access keys and the handling of interop keyboard commands between Windows Forms, Win32, and Windows Presentation Foundation (WPF).
Public class AccessKeyPressedEventArgs Provides data for the AccessKeyManager routed event.
Public class ApplicationCommands Provides a standard set of application related commands.
Public class CanExecuteChangedEventManager Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CanExecuteChanged event.
Public class CanExecuteRoutedEventArgs Provides data for the CanExecute and PreviewCanExecute routed events.
Public class CommandBinding Binds a RoutedCommand to the event handlers that implement the command.
Public class CommandBindingCollection Represents a collection of CommandBinding objects.
Public class CommandConverter Converts an ICommand object to and from other types.
Public class CommandManager Provides command related utility methods that register CommandBinding and InputBinding objects for class owners and commands, add and remove command event handlers, and provides services for querying the status of a command.
Public class ComponentCommands Provides a standard set of component-related commands, which have predefined key input gestures and RoutedUICommand.Text properties.
Public class Cursor Represents the image used for the mouse pointer.
Public class CursorConverter Converts a Cursor object to and from other types.
Public class Cursors Defines a set of default cursors.
Public class ExecutedRoutedEventArgs Provides data for the Executed and PreviewExecuted routed events.
Public class FocusManager Provides a set of static methods, attached properties, and events for determining and setting focus scopes and for setting the focused element within the scope.
Public class InertiaExpansionBehavior Controls the deceleration of a resizing manipulation during inertia.
Public class InertiaRotationBehavior Controls the deceleration of a rotation manipulation during inertia.
Public class InertiaTranslationBehavior Controls deceleration on a translation manipulation during inertia.
Public class InputBinding Represents a binding between an InputGesture and a command. The command is potentially a RoutedCommand.
Public class InputBindingCollection Represents an ordered collection of InputBinding objects.
Public class InputDevice Abstract class that describes an input devices.
Public class InputEventArgs Provides data for input related events.
Public class InputGesture Abstract class that describes input device gestures.
Public class InputGestureCollection Represents an ordered collection of InputGesture objects.
Public class InputLanguageChangedEventArgs Contains arguments associated with the InputLanguageChanged event.
Public class InputLanguageChangingEventArgs Contains arguments associated with the InputLanguageChanging event.
Public class InputLanguageEventArgs Provides a base class for arguments for events dealing with a change in input language.
Public class InputLanguageManager Provides facilities for managing input languages in Windows Presentation Foundation (WPF).
Public class InputManager Manages all the input systems in Windows Presentation Foundation (WPF).
Public class InputMethod Provides facilities for managing and interacting with the Text Services Framework, which provides support for alternate text input methods such as speech and handwriting.
Public class InputMethodStateChangedEventArgs Contains arguments associated with the StateChanged event.
Public class InputScope Represents information related to the scope of data provided by an input method.
Public class InputScopeConverter Converts a InputScope to and from other types.
Public class InputScopeName Defines a name for text input patterns.
Public class InputScopeNameConverter Converts instances of InputScopeName to and from other data types.
Public class InputScopePhrase Represents a suggested input text pattern.
Public class KeyBinding Binds a KeyGesture to a RoutedCommand (or another ICommand implementation).
Public class Keyboard Represents the keyboard device.
Public class KeyboardDevice Abstract class that represents a keyboard device.
Public class KeyboardEventArgs Provides data for keyboard-related events.
Public class KeyboardFocusChangedEventArgs Provides data for UIElement.LostKeyboardFocus and UIElement.GotKeyboardFocus routed events, as well as related attached and Preview events.
Public class KeyboardInputProviderAcquireFocusEventArgs Provides data for the KeyboardInputProviderAcquireFocus event.
Public class KeyboardNavigation Provides logical and directional navigation between focusable objects.
Public class KeyConverter Converts a Key object to and from other types.
Public class KeyEventArgs Provides data for the UIElement.KeyUp and UIElement.KeyDown routed events, as well as related attached and Preview events.
Public class KeyGesture Defines a keyboard combination that can be used to invoke a command.
Public class KeyGestureConverter Converts a KeyGesture object to and from other types.
Public class KeyGestureValueSerializer Converts instances of String to and from instances of KeyGesture.
Public class KeyInterop Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration.
Public class KeyValueSerializer Converts instances of String to and from instances of Key.
Public class Manipulation Contains methods to get and update information about a manipulation.
Public class ManipulationBoundaryFeedbackEventArgs Provides data for the ManipulationBoundaryFeedback event.
Public class ManipulationCompletedEventArgs Provides data for the ManipulationCompleted event.
Public class ManipulationDelta Contains transformation data that is accumulated when manipulation events occur.
Public class ManipulationDeltaEventArgs Provides data for the ManipulationDelta event.
Public class ManipulationInertiaStartingEventArgs Provides data for the ManipulationInertiaStarting event.
Public class ManipulationPivot Specifies how a rotation occurs with one point of user input.
Public class ManipulationStartedEventArgs Provides data for the ManipulationStarted event.
Public class ManipulationStartingEventArgs Provides data for the ManipulationStarting, event.
Public class ManipulationVelocities Describes the speed at which manipulations occurs.
Public class MediaCommands Provides a standard set of media related commands.
Public class ModifierKeysConverter Converts a ModifierKeys object to and from other types.
Public class ModifierKeysValueSerializer Converts instances of String to and from instances of ModifierKeys.
Public class Mouse Represents the mouse device to a specific thread.
Public class MouseActionConverter Converts a MouseAction object to and from other types.
Public class MouseActionValueSerializer Converts instances of String to and from instances of MouseAction.
Public class MouseBinding Binds a MouseGesture to a RoutedCommand (or another ICommand implementation).
Public class MouseButtonEventArgs Provides data for mouse button related events.
Public class MouseDevice Represents a mouse device.
Public class MouseEventArgs Provides data for mouse related routed events that do not specifically involve mouse buttons or the mouse wheel, for example UIElement.MouseMove.
Public class MouseGesture Defines a mouse input gesture that can be used to invoke a command.
Public class MouseGestureConverter Converts a MouseGesture object to and from other types.
Public class MouseGestureValueSerializer Converts instances of String to and from instances of ModifierKeys.
Public class MouseWheelEventArgs Provides data for various events that report changes to the mouse wheel delta value of a mouse device.
Public class NavigationCommands Provides a standard set of navigation-related commands.
Public class NotifyInputEventArgs Provides data for raw input being processed by the InputManager.
Public class PreProcessInputEventArgs Provides data for preprocess input events.
Public class ProcessInputEventArgs Provides data for postprocess input events.
Public class QueryCursorEventArgs Provides data for the QueryCursor event.
Public class RoutedCommand Defines a command that implements ICommand and is routed through the element tree.
Public class RoutedUICommand Defines an ICommand that is routed through the element tree and contains a text property.
Public class StagingAreaInputItem Encapsulates an input event when it is being processed by the input manager.
Public class Stylus Provides access to general information about a tablet pen.
Public class StylusButton Represents a button on a stylus.
Public class StylusButtonCollection Contains a collection of StylusButton objects.
Public class StylusButtonEventArgs Provides data for the StylusButtonDown and StylusButtonUp events.
Public class StylusDevice Represents a tablet pen used with a Tablet PC.
Public class StylusDeviceCollection Contains the StylusDevice objects that represent a Tablet PC's stylus devices.
Public class StylusDownEventArgs Provides data for the StylusDown event.
Public class StylusEventArgs Provides data for several of the events that are associated with the Stylus class.
Public class StylusPointCollection Contains a collection of StylusPoint objects.
Public class StylusPointDescription Specifies the properties that are in a StylusPoint.
Public class StylusPointProperties Contains a StylusPointProperty for each property that the WPF supports.
Public class StylusPointProperty Represents a property stored in a StylusPoint.
Public class StylusPointPropertyInfo Specifies the constraints of a property in a StylusPoint.
Public class StylusSystemGestureEventArgs Provides data for the StylusSystemGesture event.
Public class Tablet Provides access to static methods that return the tablet devices attached to the system.
Public class TabletDevice Represents the digitizer device of a Tablet PC.
Public class TabletDeviceCollection Contains the TabletDevice objects that represent the digitizer devices of a tablet device.
Public class TextComposition Represents a composition related to text input which includes the composition text itself, any related control or system text, and a state of completion for the composition.
Public class TextCompositionEventArgs Contains arguments associated with changes to a TextComposition.
Public class TextCompositionManager Provides facilities for managing events related to input and text compositions.
Public class Touch Provides an application-level service that processes multitouch input from the operating system and raises the FrameReported event.
Public class TouchDevice Represents a single touch input produced by a finger on a touchscreen.
Public class TouchEventArgs Provides data for touch input events.
Public class TouchFrameEventArgs Provides data for the Touch.FrameReported event.
Public class TouchPoint Represents a single touch point from a multitouch message source.
Public class TouchPointCollection Contains a collection of TouchPoint objects.
Public class TraversalRequest Represents a request to move focus to another control.

  Structure Description
Public structure StylusPoint Represents a single data point collected from the digitizer and stylus.

  Interface Description
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps ICommand Defines a command.
Public interface ICommandSource Defines an object that knows how to invoke a command.
Public interface IInputLanguageSource Defines necessary facilities for an object that intends to behave as an input language source.
Public interface IManipulator Provides the position of input that is needed to create a manipulation.

  Delegate Description
Public delegate AccessKeyPressedEventHandler Represents the method that will handle the AccessKeyPressed attached event.
Public delegate CanExecuteRoutedEventHandler Represents the method that will handle the CanExecute event.
Public delegate ExecutedRoutedEventHandler Represents the method that will handle the CommandBinding.Executed and CommandBinding.PreviewExecuted routed events, as well as related attached events.
Public delegate InputEventHandler Represents the method that handles input related routed events.
Public delegate InputLanguageEventHandler Represents the method that will handle the InputLanguageManager.InputLanguageChanged and InputLanguageManager.InputLanguageChanging events.
Public delegate InputMethodStateChangedEventHandler Represents the method that will handle the InputMethod.StateChanged event.
Public delegate KeyboardEventHandler Represents the method that will handle keyboard-related routed events.
Public delegate KeyboardFocusChangedEventHandler Represents the method that will handle the UIElement.LostKeyboardFocus and UIElement.GotKeyboardFocus routed events, as well as related attached and Preview events.
Public delegate KeyboardInputProviderAcquireFocusEventHandler Represents the method that will handle the KeyboardInputProviderAcquireFocus event
Public delegate KeyEventHandler Represents the method that will handle the UIElement.KeyUp and UIElement.KeyDown routed events, as well as related attached and Preview events.
Public delegate MouseButtonEventHandler Represents the method that will handle mouse button related routed events, for example UIElement.MouseLeftButtonDown.
Public delegate MouseEventHandler Represents the method that will handle mouse related routed events that do not specifically involve mouse buttons or the mouse wheel; for example, UIElement.MouseMove.
Public delegate MouseWheelEventHandler Represents the method that will handle the UIElement.MouseWheel and ContentElement.MouseWheel routed events, as well as related attached and Preview events.
Public delegate NotifyInputEventHandler Represents the method that will handle PreNotifyInput and PostNotifyInput events.
Public delegate PreProcessInputEventHandler Represents the method that will handle the PreProcessInput event.
Public delegate ProcessInputEventHandler Represents the method that will handle the PostProcessInput event.
Public delegate QueryCursorEventHandler Represents the method that will handle the UIElement.QueryCursor and ContentElement.QueryCursor events, as well as the Mouse.QueryCursor attached event.
Public delegate StylusButtonEventHandler Represents the method that handles either the StylusButtonDown event or the StylusButtonUp event of a UIElement.
Public delegate StylusDownEventHandler Represents the method that handles the Stylus.StylusDown event, as well as several variations, including the corresponding Preview event. Also re-exposes the event in the base element classes.
Public delegate StylusEventHandler Represents the method that handles a stylus event for a class that the implements the IInputElement interface.
Public delegate StylusSystemGestureEventHandler Represents the method that handles the StylusSystemGesture event of a UIElement.
Public delegate TextCompositionEventHandler Represents the method that will handle the routed events related to the TextComposition and TextCompositionManager classes, for example UIElement.TextInput.
Public delegate TouchFrameEventHandler Represents the method that will handle the FrameReported event of a Touch.

  Enumeration Description
Public enumeration CaptureMode Specifies the mouse capture policies.
Public enumeration CursorType Specifies the built in cursor types.
Public enumeration FocusNavigationDirection Specifies the direction within a user interface (UI) in which a desired focus change request is attempted. The direction is either based on tab order or by relative direction in layout.
Public enumeration ImeConversionModeValues Describes a mode of input conversion to be performed by an input method.
Public enumeration ImeSentenceModeValues Specifies the mode of sentence conversion performed by an input method.
Public enumeration InputMethodState Describes the state of an InputMethod.
Public enumeration InputMode Specifies the possible values for the input mode.
Public enumeration InputScopeNameValue Specifies the input scope name which modifies how input from alternative input methods is interpreted.
Public enumeration InputType Specifies the possible types of input being reported.
Public enumeration Key Specifies the possible key values on a keyboard.
Public enumeration KeyboardNavigationMode Specifies the possible values for changes in focus when logical and directional navigation occurs.
Public enumeration KeyStates Specifies constants that define the state of a key.
Public enumeration ManipulationModes Specifies how manipulation events are interpreted.
Public enumeration ModifierKeys Specifies the set of modifier keys.
Public enumeration MouseAction Specifies constants that define actions performed by the mouse.
Public enumeration MouseButton Defines values that specify the buttons on a mouse device.
Public enumeration MouseButtonState Specifies the possible states of a mouse button.
Public enumeration RestoreFocusMode Specifies how Windows Presentation Foundation (WPF) restores focus to the window.
Public enumeration SpeechMode Specifies the mode of interpretation for speech input.
Public enumeration StylusButtonState Represents the state of a StylusButton.
Public enumeration StylusPointPropertyUnit Specifies the unit of measurement for a StylusPoint property.
Public enumeration SystemGesture Defines the available system gestures.
Public enumeration TabletDeviceType Defines values for the type of devices the tablet device uses.
Public enumeration TabletHardwareCapabilities Defines values that specify the hardware capabilities of a tablet device, including desktop digitizers and mice.
Public enumeration TextCompositionAutoComplete Defines a set of states for the handling of automatic completion of a text composition.
Public enumeration TouchAction Describes the action of a specific touch point.
Show:
© 2014 Microsoft