InkInputRightDragAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
LeaveUnprocessed | 0 | All input is UnprocessedInput. This passes all input through to the app for custom processing. |
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.
Applies to
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