Gets or sets a value indicating which scrollbars will be diplayed.
Property Value
A
GridScrollBars value indicating which scrollbars will be displayed.
Both |
Display both a horizontal and a vertical scroll bar when needed. |
Horizontal |
Display a horizontal scroll bar only when needed. |
Vertical |
Display a vertical scroll bar only when needed. |
ForcedBoth |
Always display both a horizontal and a vertical scroll bar. |
ForcedHorizontal |
Always display a horizontal scroll bar. |
ForcedVertical |
Always display a vertical scroll bar. |
None |
No scroll bars are displayed. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2