Scroll Bar

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Up arrow icon