Share via


InkInputRightDragAction 枚举

定义

指定 InkPresenter 对象如何处理来自笔筒按钮、笔橡皮擦笔尖、鼠标右键或类似的辅助输入。

默认情况下,此辅助输入作为主输入进行处理,并呈现为 InkStroke () 查看备注。

public enum class InkInputRightDragAction
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class InkInputRightDragAction
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum InkInputRightDragAction
var value = Windows.UI.Input.Inking.InkInputRightDragAction.leaveUnprocessed
Public Enum InkInputRightDragAction
继承
InkInputRightDragAction
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

AllowProcessing 1

所有输入均未通过辅助提示进行修改,并由 InkPresenter 处理为标准墨迹输入。

LeaveUnprocessed 0

所有输入都为 UnprocessedInput。 这会将所有输入传递到应用进行自定义处理。

注解

若要管理应用处理辅助输入的方式,请参阅 InkInputProcessingConfiguration

若要将输入作为 UnprocessedInput 传递到应用进行自定义处理,请将 RightDragAction 设置为 LeaveUnprocessed

如果 InkInputProcessingConfiguration.Mode 设置为 “墨迹书写 ”或“ 擦除”,则必须将 RightDragAction 的值设置为 LeaveUnprocessed ,以便将输入作为 UnprocessedInput 传递到应用进行自定义处理。

如果 InkInputProcessingConfiguration.Mode 设置为 None,则忽略 RightDragAction 的值,并且输入始终作为 UnprocessedInput 传递到应用进行自定义处理。

适用于

另请参阅