DataGridView.ScrollBars Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets the type of scroll bars to display for the DataGridView control.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @property */ public ScrollBars get_ScrollBars () /** @property */ public void set_ScrollBars (ScrollBars value)
public function get ScrollBars () : ScrollBars public function set ScrollBars (value : ScrollBars)
Property Value
One of the ScrollBars values. The default is Both.Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.