InkInputRightDragAction InkInputRightDragAction InkInputRightDragAction InkInputRightDragAction 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
enum class winrt::Windows::UI::Input::Inking::InkInputRightDragAction : int32_t
public enum InkInputRightDragAction
Public Enum InkInputRightDragAction
var value = Windows.UI.Input.Inking.InkInputRightDragAction.allowProcessing;
Attributes

Windows 10 requirements

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

Fields

AllowProcessing AllowProcessing AllowProcessing AllowProcessing AllowProcessing 1

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

LeaveUnprocessed LeaveUnprocessed LeaveUnprocessed LeaveUnprocessed 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.

See also