写一个继承DataGrid的类:
public class MyDataGrid : DataGrid 

protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) 

DataGrid.HitTestInfo hti = this.HitTest(new Point(e.X, e.Y)); 
if(hti.Type == DataGrid.HitTestType.ColumnResize) 

return;

base.OnMouseMove(e); 
}
protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) 

DataGrid.HitTestInfo hti = this.HitTest(new Point(e.X, e.Y)); 
if(hti.Type == DataGrid.HitTestType.ColumnResize) 

return;

base.OnMouseDown(e); 

}