System.Windows.Input Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides types to support the Silverlight client input system. Generally these are types that support input-specific events that are exposed by Silverlight base classes such as UIElement, and types that are used in ink capture and presentation.

Classes

  Class Description
Public class Cursor Represents the image used for the mouse pointer.
Public class Cursors Defines a set of default mouse pointer images for Silverlight.
Public class FocusManager Provides utility methods related to element focus, without the need to handle focus-related events.
Public class GestureEventArgs Provides event data for gesture events such as DoubleTap.
Public class InputMethod Specifies attached properties that influence input method editor (IME) features and support when used with a Silverlight-based application.
Public class InputScope Represents information related to the scope of data provided by an input method.
Public class InputScopeConverter Provides type conversion support for the InputScope class.
Public class InputScopeName Defines a name for text input patterns.
Public class InputScopeNameConverter Provides type conversion support for the InputScopeName class.
Public class Keyboard Represents the keyboard device.
Public class KeyEventArgs Provides event data for the UIElement.KeyUp and UIElement.KeyDown events.
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 ManipulationStartedEventArgs Provides data for the ManipulationStarted event.
Public class ManipulationVelocities Describes the speed at which manipulations occurs.
Public class MouseButtonEventArgs Provides event data for mouse button input events, for example UIElement.MouseLeftButtonDown and MouseRightButtonUp.
Public class MouseEventArgs Provides data for mouse-related events that do not specifically involve mouse buttons, for example UIElement.MouseMove.
Public class MouseWheelEventArgs Provides data for the MouseWheel routed event.
Public class StylusDevice Reports stylus device information, such as the collection of stylus points associated with the input.
Public class StylusPointCollection Represents a collection of related StylusPoint objects.
Public class TextComposition Represents a composition related to text input which includes the composition text itself.
Public class TextCompositionEventArgs Provides data for the TextInput routed event.
Public class Touch Provides an application-level service that processes touch input from the operating system and raises the Silverlight-specific FrameReported event.
Public class TouchDevice Identifies a "device" that produced the touch point. This is not a literal device, instead it distinguishes touch points through a down/move/up sequence.
Public class TouchFrameEventArgs Provides data for the FrameReported event.
Public class TouchPoint Represents a single touch point from a touch message source.
Public class TouchPointCollection Contains a collection of TouchPoint values.

Structures

  Structure Description
Public structure StylusPoint Represents a single point collected while the user is entering ink strokes with the stylus or mouse.

Interfaces

  Interface Description
Public interface ICommand Defines the contract for commanding.

Delegates

  Delegate Description
Public delegate KeyEventHandler Represents the method that handles the UIElement.KeyUp and UIElement.KeyDown events.
Public delegate MouseButtonEventHandler Represents the method that handles the UIElement.MouseLeftButtonDown and UIElement.MouseLeftButtonUp events.
Public delegate MouseEventHandler Represents the method that will handle mouse related routed events that do not specifically involve mouse buttons; for example, UIElement.MouseMove.
Public delegate MouseWheelEventHandler Represents the method that will handle the MouseWheel routed event.
Public delegate TextCompositionEventHandler Represents the method that will handle the TextInput routed event.
Public delegate TouchFrameEventHandler Represents the method that will handle the FrameReported event of Touch.

Enumerations

  Enumeration Description
Public enumeration ImeConversionModeValues Describes a mode of input conversion to be performed by an input method editor interacting with a Silverlight-based application.
Public enumeration InputMethodState Describes the state of an input method editor when it interacts with a Silverlight-based application.
Public enumeration InputScopeNameValue Specifies the input scope name, which modifies how input from alternative input methods is interpreted.
Public enumeration Key Specifies the possible key values on a keyboard.
Public enumeration KeyboardNavigationMode Specifies the tabbing behavior across tab stops for a Silverlight tabbing sequence within a container.
Public enumeration ModifierKeys Specifies the set of modifier keys.
Public enumeration TabletDeviceType Defines values for the type of devices the tablet device uses.
Public enumeration TouchAction Describes the action of a specific touch point.