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

hide scrollbars

Thread ID:





1378 Oct 22,2002 05:06 PM UTC Oct 24,2002 08:23 AM UTC WinForms 3
Tags: GridControl
Amanda Kabak
Asked On October 22, 2002 05:06 PM UTC

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 07:07 PM UTC

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 10:09 AM UTC

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 08:23 AM UTC

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.

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