Share via


VisualInteractionSourceRedirectionMode 枚举

定义

指示应重定向到 InteractionTracker 的输入。

public enum class VisualInteractionSourceRedirectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class VisualInteractionSourceRedirectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class VisualInteractionSourceRedirectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum VisualInteractionSourceRedirectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum VisualInteractionSourceRedirectionMode
var value = Microsoft.UI.Composition.Interactions.VisualInteractionSourceRedirectionMode.off
Public Enum VisualInteractionSourceRedirectionMode
继承
VisualInteractionSourceRedirectionMode
属性

字段

CapableTouchpadAndPointerWheel 3

指针输入将转到 UI 线程,精确式触摸板和鼠标滚轮输入将转到合成器。

CapableTouchpadOnly 1

指针输入转到 UI 线程,精确式触摸板输入转到合成器。

Off 0

重定向处于关闭状态,所有输入都转到 UI 线程。

PointerWheelOnly 2

指针输入将转到 UI 线程,鼠标滚轮输入将转到合成器。

适用于