Microsoft.UI.Input Namespace

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.

EnteredMoveSizeEventArgs

Contains event data for the EnteredMoveSize event.

EnteringMoveSizeEventArgs

Contains event data for the EnteringMoveSize event.

ExitedMoveSizeEventArgs

Contains event data for the ExitedMoveSize 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 and window messages 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.

WindowRectChangedEventArgs

Contains event data for the WindowRectChanged event.

WindowRectChangingEventArgs

Contains event data for the WindowRectChanging event.

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.

MoveSizeOperation

Specifies the types of move and resize operations being performed on an 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