Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 3.7 KB

inkinputprocessingconfiguration.md

File metadata and controls

31 lines (20 loc) · 3.7 KB
-api-id -api-type -api-device-family-note
T:Windows.UI.Input.Inking.InkInputProcessingConfiguration
winrt class
xbox

Windows.UI.Input.Inking.InkInputProcessingConfiguration

-description

Manages how input is processed by the InkPresenter object.

-remarks

Primary input is not from (or modified by) a secondary affordance, such as a pen barrel button, pen eraser tip, right mouse button, or similar.

Secondary input, by default, is processed as primary input and rendered as an InkStroke by the InkPresenter. For custom handling of secondary input by your application, set InkInputProcessingConfiguration.RightDragAction to LeaveUnprocessed. This indicates that input should be passed through the InkPresenter as UnprocessedInput 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.

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.

To manage what secondary input is processed by your app, see InkInputConfiguration.

-examples

-see-also

InkPresenter.InputProcessingConfiguration, 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