BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
//in formload
this.gridGroupingControl1.ShowGroupDropArea = true;
this.textBox1 = new TextBox();
this.textBox1.BackColor = Color.LightGoldenrodYellow;
this.gridGroupingControl1.TableControl.Controls.Add(this.textBox1);
this.gridGroupingControl1.PerformLayout();
//grid.Layout event handler
private void gridGroupingControl1_Layout(object sender, LayoutEventArgs e)
{
if(this.textBox1 != null && this.gridGroupingControl1.TableControl != null)
{
this.gridGroupingControl1.TableControl.ResetGridBounds();
Rectangle rect = this.gridGroupingControl1.TableControl.GridBounds;
this.textBox1.Width = rect.Width;
this.textBox1.Location = new Point(0,0);
this.gridGroupingControl1.TableControl.GridBounds = new Rectangle(0, this.textBox1.Height + 2, rect.Width, rect.Height-this.textBox1.Height - 2);
}
}