InkInputRightDragAction Enum

Definition

Specifies how the InkPresenter object handles secondary input from a pen barrel button, pen eraser tip, right mouse button, or similar.

By default, this secondary input is processed as primary input and rendered as an InkStroke (see remarks).

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
Inheritance
InkInputRightDragAction
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AllowProcessing 1

All input is unmodified by a secondary affordance and is processed as standard ink input by the InkPresenter.

LeaveUnprocessed 0

All input is UnprocessedInput. This passes all input through to the app for custom processing.

Remarks

To manage how secondary input is processed by your app, see InkInputProcessingConfiguration.

To pass input as UnprocessedInput through to your app for custom processing, set RightDragAction to LeaveUnprocessed.

If InkInputProcessingConfiguration.Mode is set to Inking or Erasing, the value of RightDragAction must be set to LeaveUnprocessed to pass input as UnprocessedInput through to your app for custom processing.

If InkInputProcessingConfiguration.Mode is set to None, the value of RightDragAction is ignored and input is always passed as UnprocessedInput through to your app for custom processing.

Applies to

See also