The following example creates a MouseButtonEventHandler which determines if a single, double, or triple click occurred. ClickCount property is used to determine the number of clicks.
private void OnMouseDownClickCount(object sender, MouseButtonEventArgs e)
{
// Checks the number of clicks.
if (e.ClickCount == 1)
{
// Single Click occurred.
lblClickCount.Content = "Single Click";
}
if (e.ClickCount == 2)
{
// Double Click occurred.
lblClickCount.Content = "Double Click";
}
if (e.ClickCount > 3)
{
// Triple Click occurred.
lblClickCount.Content = "Triple Click";
}
}