There's no Property for the DataGridView to achieve this, but, you could follow the advice given here :

http://forums.msdn.microsoft.com/en-...-5d427c3762e2/