HandwritingView.InputDeviceTypes Property
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.
Gets or sets the input device type from which input data is collected by the HandwritingView to construct and render an InkStroke. The default is 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
Property Value
The input device types.
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v12.0)
|
Examples
Here we specify that data from all supported input devices (CoreInputDeviceTypes) be collected by the HandwritingView and processed as ink input.
handwritingView.InputDeviceTypes =
Windows.UI.Core.CoreInputDeviceTypes.Mouse |
Windows.UI.Core.CoreInputDeviceTypes.Pen |
Windows.UI.Core.CoreInputDeviceTypes.Touch;