Are you looking for a way to detect a double click on a form? In this case, you should check the property ClickCount events MouseRightButtonDown . This property provides the number of clicks of an item. The sample on the documentation page checks single, double and triple clicks:
private void OnMouseDownClickCount(object sender, MouseButtonEventArgs e)
{
if (e.ClickCount == 1)
{
lblClickCount.Content = "Single Click";
}
if (e.ClickCount == 2)
{
lblClickCount.Content = "Double Click";
}
if (e.ClickCount >= 3)
{
lblClickCount.Content = "Triple Click";
}
}
source
share