ADAdministrator 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.