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

Scroll Bar

Thread ID:





20961 Oct 28,2004 05:04 PM UTC Oct 28,2004 05:55 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 28, 2004 05:04 PM UTC

Hi, Is there a property that will tell me if the vertical scroll bar is present? And the width of this scroll bar? Thanks, Steve

Administrator [Syncfusion]
Replied On October 28, 2004 05:55 PM UTC

The width of the scrollbar is SystemInformation.VerticalScrollbarWidth. You can check this.gridControl1.VScroll to test whether it is visible or not. But if you are trying to determine the with of the grid without scrollbars (whether or not they are present), you can use either grid.ClientSize or grid.ClientRectangle. These properties are automatically adjusted for the scrollbars whether or not they are present.


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