We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Text Size Change On Edit

Thread ID:





61663 May 30,2007 04:46 PM UTC May 30,2007 11:55 PM UTC WinForms 3
Tags: GridControl
Dave Daniels
Asked On May 30, 2007 04:46 PM UTC


I have set an Essential Grid to allow edits and resize the row to fit. When I click on the cell to edit the text, the size of the text shrinks. Once I finish editing the cell and click out, it goes back to normal size and gets cut off.

Any ideas?

haneefm [Syncfusion]
Replied On May 30, 2007 05:47 PM UTC


Please try to provide us some more information on this issue. I tried to reproduce the issue, but couldn't. kindly provide us a minimal sample to reproduce the issue or modify any of our browser sample accordingly. This will help us to analyse the issue further.

Best regards,

Dave Daniels
Replied On May 30, 2007 08:47 PM UTC

See attachment and video enclosed.

Thanks for your help.


haneefm [Syncfusion]
Replied On May 30, 2007 11:55 PM UTC


This can be resolved by handling the DrawCellDisplayText event and call the DrawText method to draw the text in a grid cell. Here is a code snippet

private void gridControl1_DrawCellDisplayText(object sender, GridDrawCellDisplayTextEventArgs e)
e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style,e.ClipBounds, false);

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon