Microsoft.UI.Input Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides support for the Windows input system. This includes:
- Touch, pen/stylus, mouse, and keyboard device input.
- Gesture and manipulation detection, recognition, and handling.
- Inertia configuration, detection, and handling.
- Input pointer management.
Classes
CharacterReceivedEventArgs |
Contains event data for the InputKeyboardSource.CharacterReceived event. |
ContextMenuKeyEventArgs |
Contains event data for the InputKeyboardSource.ContextMenuKey event. |
CrossSlidingEventArgs |
Contains event data for the CrossSliding event. |
DraggingEventArgs |
Contains event data for the Dragging event. |
FocusChangedEventArgs |
Contains event data for the InputFocusController.GotFocus and InputFocusController.LostFocus events. |
FocusNavigationRequest |
Provides details for focus navigation events. |
FocusNavigationRequestEventArgs |
Contains event data for the InputFocusController.NavigateFocusRequested and InputFocusNavigationHost.DepartFocusRequested events. |
GestureRecognizer |
Provides gesture and manipulation recognition, event listeners, and settings. For more details on this API, please see the the UWP WinRT GestureRecognizer topic. |
HoldingEventArgs |
Contains event data for the Holding event. |
InputActivationListener |
Provides the ability to access and observe changes to the activation state of an object. |
InputActivationListenerActivationChangedEventArgs |
Contains event data for the InputActivationChanged event. |
InputCursor |
Base class for a visual pointer object that can be applied to an InputPointerSource. |
InputCustomCursor |
A custom visual pointer object that can be applied to an InputPointerSource. Not implemented: see Stable channel release notes for the Windows App SDK. |
InputDesktopNamedResourceCursor |
Represents a visual pointer object that uses an application resource instead of a predefined system cursor. |
InputDesktopResourceCursor |
Represents a visual pointer object that uses an application resource instead of a predefined system cursor. |
InputFocusChangedEventArgs |
Contains event data for the InputFocusController.GotFocus and InputFocusController.LostFocus events. |
InputFocusController |
Represents an object that supports the handling and management of focus events on a ContentIsland. |
InputFocusNavigationHost |
Enables an application that hosts a Content.ContentIsland to create and respond to requests for focus movement between the hosting application and the ContentIsland. |
InputKeyboardSource |
Processes keyboard input for the current thread. |
InputLightDismissAction |
Enables dismissal of the current window based on the detection of interaction events anywhere outside of the current window or from specific keyboard input. |
InputLightDismissEventArgs |
Provides data for the Dismissed event. |
InputNonClientPointerSource |
Processes pointer input in the non-client area of a window. |
InputObject |
Base class for all input objects. |
InputPointerSource |
Represents an object that is registered to report pointer input and provide pointer cursor and input event handling. |
InputPreTranslateKeyboardSource |
Enables pre-translation of keyboard input for the current thread. |
InputSystemCursor |
Represents a visual pointer object that uses predefined system cursors such as Hand, IBeam, and Arrow. |
KeyboardInput |
Enables handling of keyboard input for the current thread. |
KeyEventArgs |
Provides event data for various key up and key down events. |
ManipulationCompletedEventArgs |
Contains event data for the ManipulationCompleted event. |
ManipulationInertiaStartingEventArgs |
Contains event data for the GestureRecognizer.ManipulationInertiaStartingEvent. |
ManipulationStartedEventArgs |
Contains event data for the ManipulationStarted event. |
ManipulationUpdatedEventArgs |
Contains event data for the ManipulationUpdated event. |
MouseWheelParameters |
Provides properties associated with the button wheel of a mouse device. |
NonClientCaptionTappedEventArgs |
Contains event data for the CaptionTapped event. |
NonClientPointerEventArgs |
Provides event data for various pointer events. |
NonClientRegionsChangedEventArgs |
Contains event data for the InputNonClientPointerSource.RegionsChanged event. |
PointerEventArgs |
Contains the arguments returned by the last pointer event. |
PointerPoint |
Provides basic properties for the input pointer associated with a single mouse, pen/stylus, or touch contact. |
PointerPointProperties |
Provides extended properties for a PointerPoint object. |
PointerPredictor |
Provides support for generating a collection of PointerPoint objects that predict the most likely path of the current input Pointer. |
RightTappedEventArgs |
Contains event data for the GestureRecognizer.RightTapped event. For more details on this API, please see the the UWP WinRT RightTappedEventArgs topic. |
TappedEventArgs |
Contains event data for the Tapped event. For more details on this API, please see the the UWP WinRT TappedEventArgs topic. |
Structs
CrossSlideThresholds |
Contains the distance thresholds for a CrossSliding interaction. |
ManipulationDelta |
Contains the accumulated transformations for the current manipulation. |
ManipulationVelocities |
Describes the speed at which manipulations occurs. |
PhysicalKeyStatus |
Specifies the possible states of a physical keyboard key. |
Interfaces
IPointerPointTransform |
Provides generalized transformation functions. |
Enums
CrossSlidingState |
Specifies the possible states of the CrossSliding event. |
DraggingState |
Specifies the possible states of the Dragging event. |
FocusNavigationReason |
Specifies the possible reasons for a focus navigation event. |
FocusNavigationResult |
Specifies the possible results of a focus navigation event. |
GestureSettings |
Specifies the interactions that are supported by an application. |
HoldingState |
Specifies the state of the Holding event. |
InputActivationState |
Specifies all possible activation states for a window. |
InputPointerSourceDeviceKinds |
Specifies the pointer input device types that can be used with an InputPointerSource. |
InputSystemCursorShape |
Specifies the standard system visual pointer types supported by an InputSystemCursor object. |
NonClientRegionKind |
Specifies the types of non-client regions. |
PointerDeviceType |
Specifies the pointer-based input device types recognized by Windows. |
PointerUpdateKind |
Specifies the types of pointer updates that are supported by an application. |
VirtualKeyStates |
Specifies the possible states of a virtual-key. |
See also
- Microsoft.UI.Xaml.Input
- Input & devices
- Interaction primer
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Ink sample
- Input: Simplified ink sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample
- Basic input sample
- Radial controller sample