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.

Scroll Bar

Thread ID:





20961 Oct 28,2004 01:04 PM Oct 28,2004 01:55 PM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 28, 2004 01:04 PM

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 01:55 PM

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.

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.