public LearnModePage() { ThemeController.RefreshTheme(MyTheme); this.InitializeComponent(); this.DataContext = ViewModel = new PicturesPageViewModel(); Loaded += LearnModePage_Loaded; inkCanvas.InkPresenter.InputDeviceTypes = Windows.UI.Core.CoreInputDeviceTypes.Mouse | Windows.UI.Core.CoreInputDeviceTypes.Touch | Windows.UI.Core.CoreInputDeviceTypes.Pen; }