Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Accociate input devices with the ink presenter - using XAML island
private void OnInkLoaded(object sender, RoutedEventArgs e)
{
if (sender is Toolkit.InkCanvas)
{
inkCanvas.InkPresenter.InputDeviceTypes = CoreInputDeviceTypes.Mouse | CoreInputDeviceTypes.Pen | CoreInputDeviceTypes.Touch;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.