How to drag only on window header

Coordinator
May 15, 2010 at 2:03 PM

 - In the source code, in the Window.xaml (Sincorde Library\Windows\Controls\Window.xaml)

 - Go to the line 244:

    <Grid Margin="0,0,4,0">

 - Change this line to the following:

    <Grid x:Name="Drag" Background="Transparent" Margin="0,0,4,0">

- Ready;

If you don't want to change the source code, you can just create a new style for the Window copying the style from the source code and making the same change showed above.

 

Enjoy,

Vítor - Project creator