0
こんにちは、次の画面に移動すると自動的に現在の画面に描画されたスケッチを消去しようとしています。 XAMLコードこの上他のページに移動中に現在の画面に描かれたスケッチを消去しようとしています
public WorkBookP()
{
this.InitializeComponent();
ink.InkPresenter.InputDeviceTypes = CoreInputDeviceTypes.Mouse | CoreInputDeviceTypes.Touch;
// Set initial ink stroke attributes.
InkDrawingAttributes drawingAttributes = new InkDrawingAttributes();
drawingAttributes.Color = Windows.UI.Colors.Black;
drawingAttributes.IgnorePressure = false;
drawingAttributes.FitToCurve = true;
ink.InkPresenter.UpdateDefaultDrawingAttributes(drawingAttributes);
}
は私が現在画面上に描画されたテキストが自動的に
private void Nextbtntap(object sender, TappedRoutedEventArgs e)
{
ink.InkPresenter.InputProcessingConfiguration.Mode = InkInputProcessingMode.Inking;
currentIndex++;
if (currentIndex > 9)
{
currentIndex = 9;
return;
}
Digitcsimg.Source = new BitmapImage(new Uri("ms-appx:///Assets/Workbook/DigitArt/WS" + currentIndex + ".png"));
DispDigit.Text = DigCount[currentIndex];
}
すべてのヘルプを削除する必要がありたくクリックNextbtntap