HandwritingView.InputDeviceTypes プロパティ

定義

InkStroke を構築およびレンダリングするために HandwritingView によって入力データを収集する入力デバイスの種類を取得または設定します。 既定値は Pen です

public:
 property CoreInputDeviceTypes InputDeviceTypes { CoreInputDeviceTypes get(); void set(CoreInputDeviceTypes value); };
CoreInputDeviceTypes InputDeviceTypes();

void InputDeviceTypes(CoreInputDeviceTypes value);
public CoreInputDeviceTypes InputDeviceTypes { get; set; }
var coreInputDeviceTypes = handwritingView.inputDeviceTypes;
handwritingView.inputDeviceTypes = coreInputDeviceTypes;
Public Property InputDeviceTypes As CoreInputDeviceTypes

プロパティ値

入力デバイスの種類。

Windows の要件

デバイス ファミリ
Windows 10, version 2104 (10.0.20348.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v12.0 で導入)

ここでは、サポートされているすべての入力デバイス (CoreInputDeviceTypes) のデータを HandwritingView によって収集し、インク入力として処理することを指定します。

handwritingView.InputDeviceTypes =
  Windows.UI.Core.CoreInputDeviceTypes.Mouse |
  Windows.UI.Core.CoreInputDeviceTypes.Pen |
  Windows.UI.Core.CoreInputDeviceTypes.Touch;

適用対象