Aracılığıyla paylaş


InkInputProcessingMode Enum

Definition

Specifies how the InkPresenter object interprets input from its associated InkCanvas control.

By default, input is handled as standard ink or erase strokes, or it can be passed as UnprocessedInput to your app for custom processing.

public enum class InkInputProcessingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class InkInputProcessingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum InkInputProcessingMode
var value = Windows.UI.Input.Inking.InkInputProcessingMode.none
Public Enum InkInputProcessingMode
Inheritance
InkInputProcessingMode
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
None 0

All input events are passed to the app and are not processed by the InkPresenter.

Inking 1

Input is treated as ink.

Erasing 2

Input is treated as erase.

Remarks

If 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 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 how secondary input is processed by your app, see InkInputProcessingConfiguration.

Applies to

See also