System.Windows.Input Namespace
.NET Framework 4.5
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 | |
|---|---|---|
|
AccessKeyEventArgs | Provides information for access keys events. |
|
AccessKeyManager | Maintains the registration of all access keys and the handling of interop keyboard commands between Windows Forms, Win32, and Windows Presentation Foundation (WPF). |
|
AccessKeyPressedEventArgs | Provides data for the AccessKeyManager routed event. |
|
ApplicationCommands | Provides a standard set of application related commands. |
|
CanExecuteChangedEventManager | Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the CanExecuteChanged event. |
|
CanExecuteRoutedEventArgs | Provides data for the CanExecute and PreviewCanExecute routed events. |
|
CommandBinding | Binds a RoutedCommand to the event handlers that implement the command. |
|
CommandBindingCollection | Represents a collection of CommandBinding objects. |
|
CommandConverter | Converts an ICommand object to and from other types. |
|
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. |
|
ComponentCommands | Provides a standard set of component-related commands, which have predefined key input gestures and RoutedUICommand.Text properties. |
|
Cursor | Represents the image used for the mouse pointer. |
|
CursorConverter | Converts a Cursor object to and from other types. |
|
Cursors | Defines a set of default cursors. |
|
ExecutedRoutedEventArgs | Provides data for the Executed and PreviewExecuted routed events. |
|
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. |
|
InertiaExpansionBehavior | Controls the deceleration of a resizing manipulation during inertia. |
|
InertiaRotationBehavior | Controls the deceleration of a rotation manipulation during inertia. |
|
InertiaTranslationBehavior | Controls deceleration on a translation manipulation during inertia. |
|
InputBinding | Represents a binding between an InputGesture and a command. The command is potentially a RoutedCommand. |
|
InputBindingCollection | Represents an ordered collection of InputBinding objects. |
|
InputDevice | Abstract class that describes an input devices. |
|
InputEventArgs | Provides data for input related events. |
|
InputGesture | Abstract class that describes input device gestures. |
|
InputGestureCollection | Represents an ordered collection of InputGesture objects. |
|
InputLanguageChangedEventArgs | Contains arguments associated with the InputLanguageChanged event. |
|
InputLanguageChangingEventArgs | Contains arguments associated with the InputLanguageChanging event. |
|
InputLanguageEventArgs | Provides a base class for arguments for events dealing with a change in input language. |
|
InputLanguageManager | Provides facilities for managing input languages in Windows Presentation Foundation (WPF). |
|
InputManager | Manages all the input systems in Windows Presentation Foundation (WPF). |
|
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. |
|
InputMethodStateChangedEventArgs | Contains arguments associated with the StateChanged event. |
|
InputScope | Represents information related to the scope of data provided by an input method. |
|
InputScopeConverter | Converts a InputScope to and from other types. |
|
InputScopeName | Defines a name for text input patterns. |
|
InputScopeNameConverter | Converts instances of InputScopeName to and from other data types. |
|
InputScopePhrase | Represents a suggested input text pattern. |
|
KeyBinding | Binds a KeyGesture to a RoutedCommand (or another ICommand implementation). |
|
Keyboard | Represents the keyboard device. |
|
KeyboardDevice | Abstract class that represents a keyboard device. |
|
KeyboardEventArgs | Provides data for keyboard-related events. |
|
KeyboardFocusChangedEventArgs | Provides data for UIElement.LostKeyboardFocus and UIElement.GotKeyboardFocus routed events, as well as related attached and Preview events. |
|
KeyboardInputProviderAcquireFocusEventArgs | Provides data for the KeyboardInputProviderAcquireFocus event. |
|
KeyboardNavigation | Provides logical and directional navigation between focusable objects. |
|
KeyConverter | Converts a Key object to and from other types. |
|
KeyEventArgs | Provides data for the UIElement.KeyUp and UIElement.KeyDown routed events, as well as related attached and Preview events. |
|
KeyGesture | Defines a keyboard combination that can be used to invoke a command. |
|
KeyGestureConverter | Converts a KeyGesture object to and from other types. |
|
KeyGestureValueSerializer | Converts instances of String to and from instances of KeyGesture. |
|
KeyInterop | Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration. |
|
KeyValueSerializer | Converts instances of String to and from instances of Key. |
|
Manipulation | Contains methods to get and update information about a manipulation. |
|
ManipulationBoundaryFeedbackEventArgs | Provides data for the ManipulationBoundaryFeedback event. |
|
ManipulationCompletedEventArgs | Provides data for the ManipulationCompleted event. |
|
ManipulationDelta | Contains transformation data that is accumulated when manipulation events occur. |
|
ManipulationDeltaEventArgs | Provides data for the ManipulationDelta event. |
|
ManipulationInertiaStartingEventArgs | Provides data for the ManipulationInertiaStarting event. |
|
ManipulationPivot | Specifies how a rotation occurs with one point of user input. |
|
ManipulationStartedEventArgs | Provides data for the ManipulationStarted event. |
|
ManipulationStartingEventArgs | Provides data for the ManipulationStarting, event. |
|
ManipulationVelocities | Describes the speed at which manipulations occurs. |
|
MediaCommands | Provides a standard set of media related commands. |
|
ModifierKeysConverter | Converts a ModifierKeys object to and from other types. |
|
ModifierKeysValueSerializer | Converts instances of String to and from instances of ModifierKeys. |
|
Mouse | Represents the mouse device to a specific thread. |
|
MouseActionConverter | Converts a MouseAction object to and from other types. |
|
MouseActionValueSerializer | Converts instances of String to and from instances of MouseAction. |
|
MouseBinding | Binds a MouseGesture to a RoutedCommand (or another ICommand implementation). |
|
MouseButtonEventArgs | Provides data for mouse button related events. |
|
MouseDevice | Represents a mouse device. |
|
MouseEventArgs | Provides data for mouse related routed events that do not specifically involve mouse buttons or the mouse wheel, for example UIElement.MouseMove. |
|
MouseGesture | Defines a mouse input gesture that can be used to invoke a command. |
|
MouseGestureConverter | Converts a MouseGesture object to and from other types. |
|
MouseGestureValueSerializer | Converts instances of String to and from instances of ModifierKeys. |
|
MouseWheelEventArgs | Provides data for various events that report changes to the mouse wheel delta value of a mouse device. |
|
NavigationCommands | Provides a standard set of navigation-related commands. |
|
NotifyInputEventArgs | Provides data for raw input being processed by the InputManager. |
|
PreProcessInputEventArgs | Provides data for preprocess input events. |
|
ProcessInputEventArgs | Provides data for postprocess input events. |
|
QueryCursorEventArgs | Provides data for the QueryCursor event. |
|
RoutedCommand | Defines a command that implements ICommand and is routed through the element tree. |
|
RoutedUICommand | Defines an ICommand that is routed through the element tree and contains a text property. |
|
StagingAreaInputItem | Encapsulates an input event when it is being processed by the input manager. |
|
Stylus | Provides access to general information about a tablet pen. |
|
StylusButton | Represents a button on a stylus. |
|
StylusButtonCollection | Contains a collection of StylusButton objects. |
|
StylusButtonEventArgs | Provides data for the StylusButtonDown and StylusButtonUp events. |
|
StylusDevice | Represents a tablet pen used with a Tablet PC. |
|
StylusDeviceCollection | Contains the StylusDevice objects that represent a Tablet PC's stylus devices. |
|
StylusDownEventArgs | Provides data for the StylusDown event. |
|
StylusEventArgs | Provides data for several of the events that are associated with the Stylus class. |
|
StylusPointCollection | Contains a collection of StylusPoint objects. |
|
StylusPointDescription | Specifies the properties that are in a StylusPoint. |
|
StylusPointProperties | Contains a StylusPointProperty for each property that the WPF supports. |
|
StylusPointProperty | Represents a property stored in a StylusPoint. |
|
StylusPointPropertyInfo | Specifies the constraints of a property in a StylusPoint. |
|
StylusSystemGestureEventArgs | Provides data for the StylusSystemGesture event. |
|
Tablet | Provides access to static methods that return the tablet devices attached to the system. |
|
TabletDevice | Represents the digitizer device of a Tablet PC. |
|
TabletDeviceCollection | Contains the TabletDevice objects that represent the digitizer devices of a tablet device. |
|
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. |
|
TextCompositionEventArgs | Contains arguments associated with changes to a TextComposition. |
|
TextCompositionManager | Provides facilities for managing events related to input and text compositions. |
|
Touch | Provides an application-level service that processes multitouch input from the operating system and raises the FrameReported event. |
|
TouchDevice | Represents a single touch input produced by a finger on a touchscreen. |
|
TouchEventArgs | Provides data for touch input events. |
|
TouchFrameEventArgs | Provides data for the Touch.FrameReported event. |
|
TouchPoint | Represents a single touch point from a multitouch message source. |
|
TouchPointCollection | Contains a collection of TouchPoint objects. |
|
TraversalRequest | Represents a request to move focus to another control. |
| Structure | Description | |
|---|---|---|
|
StylusPoint | Represents a single data point collected from the digitizer and stylus. |
| Interface | Description | |
|---|---|---|
|
ICommand | Defines a command. |
|
ICommandSource | Defines an object that knows how to invoke a command. |
|
IInputLanguageSource | Defines necessary facilities for an object that intends to behave as an input language source. |
|
IManipulator | Provides the position of input that is needed to create a manipulation. |
| Delegate | Description | |
|---|---|---|
|
AccessKeyPressedEventHandler | Represents the method that will handle the AccessKeyPressed attached event. |
|
CanExecuteRoutedEventHandler | Represents the method that will handle the CanExecute event. |
|
ExecutedRoutedEventHandler | Represents the method that will handle the CommandBinding.Executed and CommandBinding.PreviewExecuted routed events, as well as related attached events. |
|
InputEventHandler | Represents the method that handles input related routed events. |
|
InputLanguageEventHandler | Represents the method that will handle the InputLanguageManager.InputLanguageChanged and InputLanguageManager.InputLanguageChanging events. |
|
InputMethodStateChangedEventHandler | Represents the method that will handle the InputMethod.StateChanged event. |
|
KeyboardEventHandler | Represents the method that will handle keyboard-related routed events. |
|
KeyboardFocusChangedEventHandler | Represents the method that will handle the UIElement.LostKeyboardFocus and UIElement.GotKeyboardFocus routed events, as well as related attached and Preview events. |
|
KeyboardInputProviderAcquireFocusEventHandler | Represents the method that will handle the KeyboardInputProviderAcquireFocus event |
|
KeyEventHandler | Represents the method that will handle the UIElement.KeyUp and UIElement.KeyDown routed events, as well as related attached and Preview events. |
|
MouseButtonEventHandler | Represents the method that will handle mouse button related routed events, for example UIElement.MouseLeftButtonDown. |
|
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. |
|
MouseWheelEventHandler | Represents the method that will handle the UIElement.MouseWheel and ContentElement.MouseWheel routed events, as well as related attached and Preview events. |
|
NotifyInputEventHandler | Represents the method that will handle PreNotifyInput and PostNotifyInput events. |
|
PreProcessInputEventHandler | Represents the method that will handle the PreProcessInput event. |
|
ProcessInputEventHandler | Represents the method that will handle the PostProcessInput event. |
|
QueryCursorEventHandler | Represents the method that will handle the UIElement.QueryCursor and ContentElement.QueryCursor events, as well as the Mouse.QueryCursor attached event. |
|
StylusButtonEventHandler | Represents the method that handles either the StylusButtonDown event or the StylusButtonUp event of a UIElement. |
|
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. |
|
StylusEventHandler | Represents the method that handles a stylus event for a class that the implements the IInputElement interface. |
|
StylusSystemGestureEventHandler | Represents the method that handles the StylusSystemGesture event of a UIElement. |
|
TextCompositionEventHandler | Represents the method that will handle the routed events related to the TextComposition and TextCompositionManager classes, for example UIElement.TextInput. |
|
TouchFrameEventHandler | Represents the method that will handle the FrameReported event of a Touch. |
| Enumeration | Description | |
|---|---|---|
|
CaptureMode | Specifies the mouse capture policies. |
|
CursorType | Specifies the built in cursor types. |
|
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. |
|
ImeConversionModeValues | Describes a mode of input conversion to be performed by an input method. |
|
ImeSentenceModeValues | Specifies the mode of sentence conversion performed by an input method. |
|
InputMethodState | Describes the state of an InputMethod. |
|
InputMode | Specifies the possible values for the input mode. |
|
InputScopeNameValue | Specifies the input scope name which modifies how input from alternative input methods is interpreted. |
|
InputType | Specifies the possible types of input being reported. |
|
Key | Specifies the possible key values on a keyboard. |
|
KeyboardNavigationMode | Specifies the possible values for changes in focus when logical and directional navigation occurs. |
|
KeyStates | Specifies constants that define the state of a key. |
|
ManipulationModes | Specifies how manipulation events are interpreted. |
|
ModifierKeys | Specifies the set of modifier keys. |
|
MouseAction | Specifies constants that define actions performed by the mouse. |
|
MouseButton | Defines values that specify the buttons on a mouse device. |
|
MouseButtonState | Specifies the possible states of a mouse button. |
|
RestoreFocusMode | Specifies how Windows Presentation Foundation (WPF) restores focus to the window. |
|
SpeechMode | Specifies the mode of interpretation for speech input. |
|
StylusButtonState | Represents the state of a StylusButton. |
|
StylusPointPropertyUnit | Specifies the unit of measurement for a StylusPoint property. |
|
SystemGesture | Defines the available system gestures. |
|
TabletDeviceType | Defines values for the type of devices the tablet device uses. |
|
TabletHardwareCapabilities | Defines values that specify the hardware capabilities of a tablet device, including desktop digitizers and mice. |
|
TextCompositionAutoComplete | Defines a set of states for the handling of automatic completion of a text composition. |
|
TouchAction | Describes the action of a specific touch point. |