-
-
Save christiannagel/d56c6ac2be66b93c886b1322388b5a25 to your computer and use it in GitHub Desktop.
Accociate input devices with the ink presenter - using XAML island
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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