I have an application that can be moved by dragging the title bar using a typical template using DragMove:
private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
DragMove();
}
It works fine, but only if I am in place and then drag. If I click by dragging the mouse over the title bar, it does not move.
Is there any other event than MouseLeftButtonDown Do I need to connect?
source
share