BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
protected override void OnDraw(System.Drawing.Graphics g, System.Drawing.Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style) { int i = (int)style.CellValue * 10; //style.CellValueType = typeof(string); //style.CellValue = "Val = " + i.ToString(); string text = "Val = " + i.ToString(); //base.OnDraw(g, clientRectangle, rowIndex, colIndex, style); GridStaticCellRenderer.DrawText(g, text, style.GdipFont, clientRectangle, style, style.TextColor); }