public virtual void OnStylusSystemGesture(object?sender, StylusSystemGestureEventArgs e) { }
//</Snippet13> //public Window1() //{ // Stylus.SetIsPressAndHoldEnabled(this, true); //} //<Snippet12> private void textbox1_StylusSystemGesture(object sender, StylusSystemGestureEventArgs e) { textbox1.AppendText(e.SystemGesture.ToString() + "\n"); }
protected virtual void OnStylusSystemGesture(StylusSystemGestureEventArgs e) { throw new NotImplementedException(); }
private void player1_StylusSystemGesture(object sender, StylusSystemGestureEventArgs e) { if (e.SystemGesture == SystemGesture.Tap) { } }
public void PostprocessStylusSystemGesture(StylusSystemGestureEventArgs e) { }
private void InkCanvas_StylusSystemGesture(object sender, StylusSystemGestureEventArgs e) { textBox.Text += "InkCanvas_StylusSystemGesture\n"; }
/// <inheritdoc /> protected override void OnStylusSystemGesture(StylusSystemGestureEventArgs e) { base.OnStylusSystemGesture(e); }
void invoker_StylusSystemGesture(object sender, StylusSystemGestureEventArgs e) { this.OnStylusSystemGesture(e); }
private void OnStylusSystemGesture(object sender, StylusSystemGestureEventArgs e) { this.Events.Items.Add($"{e.RoutedEvent.Name} SystemGesture: {e.SystemGesture}"); }