Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 3.61 KB

inkinputrightdragaction.md

File metadata and controls

40 lines (25 loc) · 3.61 KB
-api-id -api-type -api-device-family-note
T:Windows.UI.Input.Inking.InkInputRightDragAction
winrt enum
xbox

InkInputRightDragAction

-description

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

-enum-fields

-field LeaveUnprocessed:0

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

-field AllowProcessing:1

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

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

-examples

-see-also

Pen and stylus interactions, Get started: Support ink in your UWP app, Ink analysis sample (basic) (C#), Ink handwriting recognition sample (C#), Save and load ink strokes from an Ink Serialized Format (ISF) file, Save and load ink strokes from the clipboard, Ink toolbar location and orientation sample (basic), Ink toolbar location and orientation sample (dynamic), Coloring book sample, Family notes sample, Inking sample (JavaScript), Simple inking sample (C#/C++), Complex inking sample (C++), Ink analysis sample