To determine if the scrollbars are visible, you will need to compare the ClientRectangle to the DisplayRectangle on the GridControl. The ClientRectangle is the totality of the grid and the DisplayRectangle is the part without the scrollbars nor the borders.
e.g.:
Debug.WriteLine( ( gridControl1.ClientRectangle.Height – gridControl1.DisplayRectangle.Height ).ToString() );
The result will tell you if the horizontal scrollbar is visible or not.
Imported from legacy forums. Posted by André (had 1871 views)