'Declaration Public Property ScrollBars As ScrollBars
public ScrollBars ScrollBars {get; set;}
'Declaration Public Property ScrollBars As ScrollBars
public ScrollBars ScrollBars {get; set;}
Scroll bars are displayed only if the contents of the control extend beyond its client area. For example, if C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.ScrollBars is set to System.Windows.Forms.ScrollBars.Horizontal, a horizontal scroll bar is displayed only if the control is not wide enough to display all columns at once.
Even when it has no scrollbars, the control will still scroll to keep the selection visible. If you want to prevent scrolling, handle the C1FlexGridBase.BeforeScroll event and set its RangeEventArgs.Cancel parameter to true.
You can force the control to display scrollbars at all times with the C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.ForceScrollBars property.
You can determine which scrollbars are currently visible with the C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.ScrollBarsVisible property.