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

GDI Objects Leak

Thread ID:





59438 Apr 12,2007 05:11 PM UTC Apr 12,2007 06:53 PM UTC WinForms 1
Tags: GridControl
Francesco Donati
Asked On April 12, 2007 05:11 PM UTC


We have found a GDI object leaks as you can replicate with the sample in attach.

It seems to linked to the use of the GridGdiPaint.Instance.DrawText in the override of the OnDrawCellDisplayText.

Please, how can we avoid the leak?



haneefm [Syncfusion]
Replied On April 12, 2007 06:53 PM UTC

Hi Francesco,

You need to create a BaseStyle and assign them in QueryCellInfo to avoid GDI leak in a grid. Please refer the following KB

http://www.syncfusion.com/support/kb/694/How to improve performance when working with fonts inside the QueryCellInfo?

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

or the page will be automatically redirected to 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