BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
public override void Draw(Graphics g, Rectangle cellRectangle, int rowIndex, int colIndex, GridStyleInfo style) { this.Model.ButtonBarSize = new Size(this.Grid.Model.ColWidths[ColIndex]-4, this.Grid.Model.RowHeights[RowIndex]-4); base.Draw (g, cellRectangle, rowIndex, colIndex, style); }
>public override void Draw(Graphics g, Rectangle cellRectangle, int rowIndex, int colIndex, GridStyleInfo style) >{ > this.Model.ButtonBarSize = new Size(this.Grid.Model.ColWidths[ColIndex]-4, this.Grid.Model.RowHeights[RowIndex]-4); > > base.Draw (g, cellRectangle, rowIndex, colIndex, style); >} >