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.
Unfortunately, activation email could not send to your email. Please try again.

hide scrollbars

Thread ID:





1378 Oct 22,2002 01:06 PM Oct 24,2002 04:23 AM Windows Forms 3
Tags: GridControl
Amanda Kabak
Asked On October 22, 2002 01:06 PM

I have a grid with only a few columns and rows and want not to display the vertical and horizontal scroll bars. Unfortunately, I can't seem to find the properties that control scroll bar visibility. Can you help?

Administrator [Syncfusion]
Replied On October 22, 2002 03:07 PM

You can set the VScrollBehavior and HScrollBehavior proerties of GridControl. gridControl1.VScrollBehavior = GridScrollbarMode.Disabled; gridControl1.HScrollBehavior = GridScrollbarMode.Disabled;

Amanda Kabak
Replied On October 23, 2002 06:09 AM

I've done that in design mode within the grid properties, but it doesn't change how that grid is displayed in design mode. As I'm building these grids in a class library, I haven't yet tested it at run-time, but are the scroll bars supposed to disappear at design time? If they don't, it makes it somewhat hard to size the grid properly if there end up being no scroll bars at run time.

Administrator [Syncfusion]
Replied On October 24, 2002 04:23 AM

Amanda, We will try to change the designer so these property settings affect the grid on the design surface. We hope to have a release in the next few days, and we'l try to get this change into that release. Regards, Clay


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.

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.