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. Image for the cookie policy date
close icon

ControlStyles.DoubleBuffer

Why is the DoubleFilter enum hidden?

4 Replies

LK Leow Kah Man July 27, 2006 01:48 AM UTC

Sorry, DoubleBuffer*


AD Administrator Syncfusion Team July 27, 2006 04:59 AM UTC

Hi Leow,

You should be able to define any kind of CotrolStyles in a derived grid class and wrap the call into the base class version of the grid. Here is a code snippet

public class MyGridDataBoundGrid : GridDataBoundGrid
{
public MyGridDataBoundGrid() : base()
{
this.SetStyle(ControlStyles.DoubleBuffer, true);
}
}

Let us know if this helps.
Regards,
Haneef


LK Leow Kah Man July 27, 2006 05:10 AM UTC

Thanks for the quick response.

Yes we can but my question is why is it hidden, from the intellisense.

Maybe SF has a reason for that?


AD Administrator Syncfusion Team July 28, 2006 12:54 PM UTC

Hi Leow,

Here is an update regarding the ControlStyles.DoubleBuffer problem. That was the .NET Framework issue.

Just open up a new project without Syncfusion and and try to use ControlStyles.DoubleBuffer in .NetFrameWork 2.0. It does not show the ControlStyles.DoubleBuffer Enumeration. Please do the same in .Net FrameWork 1.1, and it does it.

Thanks,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon