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
.NET Framework 3.0
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 AccessKeyPressed event. |
![]() | ApplicationCommands | Provides a standard set of application related commands. |
![]() | CanExecuteRoutedEventArgs | Provides data for the CanExecute and PreviewCanExecute events. |
![]() | CommandBinding | Binds a RoutedCommand to the event handlers which 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. |
![]() | 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 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. |
![]() | InputBinding | Represents a binding between an InputGesture to an ICommand, such as 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. This is an abstract class. |
![]() | 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 | Provides facilities for converting between InputScope objects and strings. |
![]() | 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 and an ICommand. |
![]() | Keyboard | Represents the keyboard device. |
![]() | KeyboardDevice | Abstract class that represents a keyboard device. |
![]() | KeyboardEventArgs | Provides data for keyboard related events. |
![]() | KeyboardFocusChangedEventArgs | Provides data for the GotKeyboardFocus and LostKeyboardFocus events. |
![]() | KeyboardNavigation | Provides logical and directional navigation between focusable objects. |
![]() | KeyConverter | Converts a Key object to and from other types. |
![]() | KeyEventArgs | Provides data for the KeyUp and KeyDown 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 WPFKey enumeration. |
![]() | KeyValueSerializer | Converts instances of String to and from instances of Key. |
![]() | 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 an ICommand. |
![]() | MouseButtonEventArgs | Provides data for mouse button related events. |
![]() | MouseDevice | Represents a mouse device. |
![]() | MouseEventArgs | Provides data for mouse-related events such as MouseEnter and 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 event data for the MouseWheel event. |
![]() | 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 an ICommand which is routed through the element tree. |
![]() | RoutedUICommand | Defines an ICommand which 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 the stylus devices of a Tablet PC. |
![]() | 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. |
![]() | TraversalRequest | Represents a request to move focus to another control. |
| 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. |
| Structure | Description | |
|---|---|---|
![]() | StylusPoint | Represents a single data point collected from the digitizer and stylus. |
| Delegate | Description | |
|---|---|---|
![]() | AccessKeyPressedEventHandler | Represents the method that will handle routed event pressed events. |
![]() | CanExecuteRoutedEventHandler | Represents the method that will handle the CanExecute event. |
![]() | ExecutedRoutedEventHandler | Represents the method that will handle the Executed event. |
![]() | InputEventHandler | Represents the method that handles input related events. |
![]() | InputLanguageEventHandler | Delegate for events associated with changes to input language, including the InputLanguageChanged and InputLanguageChanging events. |
![]() | InputMethodStateChangedEventHandler | Delegate for events associated with changes in state for an input method. |
![]() | InputReportEventHandler | This delegate type supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
![]() | KeyboardEventHandler | Represents the method that will handle keyboard related events. |
![]() | KeyboardFocusChangedEventHandler | Represents the method that will handle the LostKeyboardFocus and GotKeyboardFocus events. |
![]() | KeyEventHandler | Represents the method that will handle the KeyUp and KeyDown events. |
![]() | MouseButtonEventHandler | Represents the method that will handle mouse button related events such as MouseDown and MouseUp. |
![]() | MouseEventHandler | Represents the method that will handle mouse related events such as MouseEnter and MouseMove. |
![]() | MouseWheelEventHandler | Represents the method that will handle the MouseWheel event. |
![]() | 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 PostProcessInput event. |
![]() | QueryCursorEventHandler | Represents the method that will handle the QueryCursor event. |
![]() | StylusButtonEventHandler | Represents the method that handles the StylusButtonDown event or 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, and re-exposes the event in the base element classes. |
![]() | StylusEventHandler | Represents the method that handles a stylus event of a class that the implements the IInputElement interface. |
![]() | StylusSystemGestureEventHandler | Represents the method that handles the StylusSystemGesture event of a UIElement. |
![]() | TextCompositionEventHandler | Delegate for events related to changes in a TextComposition. |
| 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. |
![]() | 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 the mouse. |
![]() | MouseButtonState | Specifies the possible states of a mouse button. |
![]() | 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. |
Community Additions
Show:




