title: wpf stylus mouse event
body: <p>When button1 gets tapped by the stylus test method gets called twice, even though I am setting the Handled property in the stylusdown event. Is there a way to have the stylus event not propegate a secondary button click event?</p>
  
  <pre><code>namespace DialogTest
  {
      /// &lt;summary&gt;
      /// Interaction logic for Window1.xaml
      /// &lt;/summary&gt;
      public partial class Window1 : Window
      {
          public Window1()
          {
              InitializeComponent();
          }
  
          private void button1_Click(object sender, RoutedEventArgs e)
          {
              test(sender, e);
          }
  
          private void button1_StylusDown(object sender, StylusDownEventArgs e)
          {
              test(sender, e);
              e.Handled = true;
          }
  
          private void test(object e, EventArgs env)
          {
              Console.WriteLine(e.ToString(), env.ToString());
  
              Console.WriteLine("clicking");
          }
  
  
      }
  </code></pre>