Windows.UI.Xaml.Input Namespace

Defines the input and input event infrastructure for apps and UI elements.

Equivalent WinUI namespace: Microsoft.UI.Xaml.Input.

Classes

AccessKeyDisplayDismissedEventArgs

Provides event data for the AccessKeyDisplayDismissed event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.AccessKeyDisplayDismissedEventArgs.

AccessKeyDisplayRequestedEventArgs

Provides event data for the AccessKeyDisplayRequested event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.AccessKeyDisplayRequestedEventArgs.

AccessKeyInvokedEventArgs

Provides event data for the AccessKeyInvoked event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.AccessKeyInvokedEventArgs.

AccessKeyManager

A helper class that enables access keys (mnemonics) for XAML user interfaces.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.AccessKeyManager.

CanExecuteRequestedEventArgs

Provides event data for the CanExecuteRequested event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.CanExecuteRequestedEventArgs.

CharacterReceivedRoutedEventArgs

Provides event data for the UIElement.CharacterReceived  routed event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.CharacterReceivedRoutedEventArgs.

ContextRequestedEventArgs

Provides event data for the ContextRequested event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ContextRequestedEventArgs.

DoubleTappedRoutedEventArgs

Provides event data for the DoubleTapped event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs.

ExecuteRequestedEventArgs

Provides event data for the ExecuteRequested event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ExecuteRequestedEventArgs.

FindNextElementOptions

Provides options to help identify the next element that can programmatically receive navigation focus.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.FindNextElementOptions.

FocusManager

A helper class that enables global management of focus actions and events across all elements in an application.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.FocusManager.

FocusManagerGotFocusEventArgs

Provides data for the GotFocus event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.FocusManagerGotFocusEventArgs.

FocusManagerLostFocusEventArgs

Provides data for the LostFocus event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.FocusManagerLostFocusEventArgs.

FocusMovementResult

Represents the status of a focus operation.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.FocusMovementResult.

GettingFocusEventArgs

Provides data for the FocusManager.GettingFocus and UIElement.GettingFocus events.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.GettingFocusEventArgs.

HoldingRoutedEventArgs

Provides event data for the Holding event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs.

InertiaExpansionBehavior

Controls the deceleration of a resizing manipulation during inertia.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InertiaExpansionBehavior.

InertiaRotationBehavior

Controls the deceleration of a rotation manipulation during inertia.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InertiaRotationBehavior.

InertiaTranslationBehavior

Controls deceleration on a translation manipulation during inertia.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InertiaTranslationBehavior.

InputScope

Represents information related to the data provided by an input method.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InputScope.

InputScopeName

Identifies a particular named input scope that is relevant to an overall InputScope.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.InputScopeName.

KeyboardAccelerator

Represents a keyboard shortcut (or accelerator) that lets a user perform an action using the keyboard instead of navigating the app UI (directly or through access keys).

Accelerators are typically assigned to buttons or menu items.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.KeyboardAccelerator.

KeyboardAcceleratorInvokedEventArgs

Provides event data for the Invoked event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.KeyboardAcceleratorInvokedEventArgs.

KeyRoutedEventArgs

Provides event data for the KeyUp and KeyDown routed events.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.KeyRoutedEventArgs.

LosingFocusEventArgs

Provides data for the FocusManager.LosingFocus and UIElement.LosingFocus events.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.LosingFocusEventArgs.

ManipulationCompletedRoutedEventArgs

Provides data for the ManipulationCompleted event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationCompletedRoutedEventArgs.

ManipulationDeltaRoutedEventArgs

Provides data for the ManipulationDelta event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.

ManipulationInertiaStartingRoutedEventArgs

Provides data for the ManipulationInertiaStarting event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationInertiaStartingRoutedEventArgs.

ManipulationPivot

Specifies how a rotation occurs with one point of user input.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationPivot.

ManipulationStartedRoutedEventArgs

Provides data for the ManipulationStarted event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationStartedRoutedEventArgs.

ManipulationStartingRoutedEventArgs

Provides data for the ManipulationStarting, event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationStartingRoutedEventArgs.

NoFocusCandidateFoundEventArgs

Provides data for the NoFocusCandidateFound event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.NoFocusCandidateFoundEventArgs.

Pointer

Provides basic properties for the input pointer associated with a single mouse, pen/stylus, or touch contact.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.Pointer.

PointerRoutedEventArgs

Contains the arguments returned by the last pointer event message.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.PointerRoutedEventArgs.

ProcessKeyboardAcceleratorEventArgs

Provides event data for the ProcessKeyboardAccelerators event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ProcessKeyboardAcceleratorEventArgs.

RightTappedRoutedEventArgs

Provides event data for the RightTapped event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.RightTappedRoutedEventArgs.

StandardUICommand

Derives from XamlUICommand, adding a set of standard platform commands with pre-defined properties.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.StandardUICommand.

TappedRoutedEventArgs

Provides event data for the Tapped event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.TappedRoutedEventArgs.

XamlUICommand

Provides a base class for defining the command behavior of an interactive UI element that performs an action when invoked (such as sending an email, deleting an item, or submitting a form).

Equivalent WinUI class: Microsoft.UI.Xaml.Input.XamlUICommand.

Interfaces

ICommand

Defines the command behavior of an interactive UI element that performs an action when invoked, such as sending an email, deleting an item, or submitting a form.

Equivalent WinUI interface: Microsoft.UI.Xaml.Input.ICommand.

Enums

FocusInputDeviceKind

Specifies the input device types from which input events are received.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.FocusInputDeviceKind.

FocusNavigationDirection

Specifies the direction that you can programmatically move focus from one element to another element within the app UI.

Equivalent WinUI enum: FocusNavigationDirection.

InputScopeNameValue

Specifies a particular named input mode (InputScopeName ) used to populate an InputScope.

Equivalent WinUI enum: InputScopeNameValue.

KeyboardAcceleratorPlacementMode

Defines constants that specify whether a keyboard shortcut (accelerator) is displayed.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.KeyboardAcceleratorPlacementMode.

KeyboardNavigationMode

Specifies the tabbing behavior across tab stops for a tabbing sequence within a container.

Equivalent WinUI enum: KeyboardNavigationMode.

KeyTipPlacementMode

Defines constants that specify where a Key Tip is placed in relation to a UIElement.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.KeyTipPlacementMode.

ManipulationModes

Specifies how a target UI element interprets manipulation events. This enumeration is flagwise, so you can set multiple modes for the ManipulationMode property.

Equivalent WinUI enum: ManipulationModes.

StandardUICommandKind

Specifies the set of platform commands (with pre-defined properties such as icon, keyboard accelerator, and description) that can be used with a StandardUICommand.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.StandardUICommandKind.

XYFocusKeyboardNavigationMode

Specifies the 2D directional navigation behavior when using the keyboard arrow keys.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.XYFocusKeyboardNavigationMode.

XYFocusNavigationStrategy

Specifies the disambiguation strategy used for navigating between multiple candidate targets using XYFocusDownNavigationStrategy, XYFocusLeftNavigationStrategy, XYFocusRightNavigationStrategy, and XYFocusUpNavigationStrategy.

Note

Other factors, such as the previously focused element or proximity to the axis of the navigation direction, can influence the navigation end result.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.XYFocusNavigationStrategy.

XYFocusNavigationStrategyOverride

Specifies how the XAML framework determines the target of an XY navigation.

Overrides XYFocusKeyboardNavigationStrategyMode.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.XYFocusNavigationStrategyOverride.

Delegates

DoubleTappedEventHandler

Represents the method that will handle the DoubleTapped event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.DoubleTappedEventHandler.

HoldingEventHandler

Represents the method that will handle the Holding event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.HoldingEventHandler.

KeyEventHandler

Represents the method that handles the KeyUp and KeyDown  events.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.KeyEventHandler.

ManipulationCompletedEventHandler

Represents the method that will handle ManipulationCompleted and related events.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.ManipulationCompletedEventHandler.

ManipulationDeltaEventHandler

Represents the method that will handle ManipulationDelta and related events.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.ManipulationDeltaEventHandler.

ManipulationInertiaStartingEventHandler

Represents the method that will handle the ManipulationInertiaStarting event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.ManipulationInertiaStartingEventHandler.

ManipulationStartedEventHandler

Represents the method that will handle ManipulationStarted and related events.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.ManipulationStartedEventHandler.

ManipulationStartingEventHandler

Represents the method that will handle the ManipulationStarting event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.ManipulationStartingEventHandler.

PointerEventHandler

Represents the method that will handle pointer message events such as PointerPressed.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.PointerEventHandler.

RightTappedEventHandler

Represents the method that will handle a RightTapped routed event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.RightTappedEventHandler.

TappedEventHandler

Represents the method that will handle the Tapped event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Input.TappedEventHandler.