Click or drag to resize
GridControlSetScrollBarMode Method
Sets the visibility mode of one or both scroll bars.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public void SetScrollBarMode(
	ScrollBarId srollBar,
	ScrollBarVisibility mode,
	bool redraw
)

Parameters

srollBar
Type: Stingray.GridScrollBarId
The scroll bar whose visibility is being altered.
mode
Type: Stingray.GridScrollBarVisibility
Visbility mode to set for specified scroll bar.
redraw
Type: SystemBoolean
true to redraw the grid after the scroll bar visibility change is made.
Remarks
Call this function to initialize the scroll bars. One or both scroll bars can be set to hidden, always shown or only shown when required.
See Also