GridHeaderCellElement elementUnderMouse = this.radGridView1.ElementTree.GetElementAtPoint(e.Location) as GridHeaderCellElement;
if (elementUnderMouse == null && e.Button== System.Windows.Forms.MouseButtons.Right)
I hope this information helps. Should you have further questions I would be glad to help.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items