BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridDataBoundGrid1_DrawCell(object sender, GridDrawCellEventArgs e) { if(e.Style.CellValueType == typeof(double)) { string s = e.Style.CellValue.ToString(); if(s.Length != 0) { double d = double.Parse(s); if(d >= 0 ) { int sizeParen = (int) e.Graphics.MeasureString(" ", e.Style.GdipFont).Width; e.Style.TextMargins.Right += sizeParen; } } } }