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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Performance tip: Override PaneDesc

Thread ID:





25486 Feb 28,2005 05:47 PM UTC Feb 28,2005 06:00 PM UTC WinForms 1
Tags: GridControl
Asked On February 28, 2005 05:47 PM UTC

Here''s a speed enhancement that other users of this forum might find useful: The Syncfusion source code (up to and including at least) is filled with debug-trace statements that expensively evaluate a "PaneDesc" property, then promptly discard it because the trace flag is off. If you don''t plan to turn the trace flag on, you can speed up the grid by overriding PaneDesc: public class MyGridControl : GridControl { public override string PaneDesc { get { return "Whatever"; // Any invariant string } } } This is in the Open Issues list as Defect #43, but I thought I''d point out that there''s an easy workaround. Cheers, Tom

Replied On February 28, 2005 06:00 PM UTC

Also, in my application I''ve overrided Update: public override void Update() { } to avoid repainting the grid too often while navigating with the arrow keys. Your mileage may vary... Tom


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

Live Chat Icon For mobile
Live Chat Icon