private void OnSizeChanged(object sender, SizeChangedEventArgs e) { HelperFunctions.UpdateCanvasSize(RootGrid, outputGrid, inkCanvas); }