Is there a way to make a form that has no border (FormBorderStyle is set to \"none\") movable when the mouse is clicked down on the form just as if there was a border?
For .NET Framework 4,
You can use this.DragMove() for the MouseDown event of the component (mainLayout in this example) you are using to drag.
this.DragMove()
MouseDown
private void mainLayout_MouseDown(object sender, MouseButtonEventArgs e) { this.DragMove(); }