Hi Shashi,
Thank you for your update.
If you want to catch the visibility of vertical or horizontal scroll bar . you can use the conditions below as you already know
Code 1:
if (this.gridDataBoundGrid1.VScroll)
{
// code
}
else if(this.gridDataBoundGrid1.HScroll)
{
// code
}
But before that you should enable or disable the any one of the scroll bars, based on these enable / disable conditions the above if loop conditions works. Here I have enabled the horizontal scroll and disabled the vertical scroll.therefore the second condition alone works.
Code 2:
this.gridDataBoundGrid1.VScrollBehavior =Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Disabled;
this.gridDataBoundGrid1.HScrollBehavior = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Enabled;
Thanks & Regards,
Karuppasamy C.