title: How can I catch both single-click and double-click events on WPF FrameworkElement?
body: <p>I can catch a <strong>single-click</strong> on a TextBlock like this:</p>
  
  <pre><code>private void TextBlock_MouseDown(object sender, MouseButtonEventArgs e)
  {
      MessageBox.Show("you single-clicked");
  }
  </code></pre>
  
  <p>I can catch a <strong>double-click</strong> on a TextBlock like this:</p>
  
  <pre><code>private void TextBlock_MouseDown(object sender, MouseButtonEventArgs e)
  {
      if (e.LeftButton == MouseButtonState.Pressed)
      {
          if (e.ClickCount == 2)
          {
              MessageBox.Show("you double-clicked");
          }
      }
  }
  </code></pre>
  
  <p><strong>But how do I catch them both on a single TextBlock and differentiate between the two?</strong></p>