public Rectangle ColumnHeaderRect(int column) { if (this.ColumnModel == null) { return Rectangle.Empty; } Rectangle rect = this.ColumnModel.ColumnHeaderRect(column); if (rect == Rectangle.Empty) { return rect; } rect.X -= this.hScrollBar.Value - this.BorderWidth; rect.Y = this.BorderWidth; return rect; }