Hi,
My app is very slow when i use this part of code (Style.Padding) :
public class MyGridCell:DataGridViewTextBoxCell
{
.....
internal protected virtual void UpdateStyle(){
this.Style.Padding = new Padding(40, 0, 0, 0);
}
.......
}
52% of the time of execution is passed in the this.Style.Padding call. When i can optimize this ?
Nota : i use Visual Studio 2012 with C# and .net framework 4.0
Regards,
Gilles