By default the grid's horizontal and vertical scrollbars are only visible when the height or width of grid content exceeds the size of the grid. However, if you choose, you can set the scrollbars to be always or never visible, and even disable them altogether, by setting the VerticalScrollbarVisibility and HorizontalScrollbarVisibility properties. You can set the VerticalScrollbarVisibility and HorizontalScrollbarVisibility properties to one of the following options:
Option | Description |
---|---|
Disabled | The chosen scrollbar is disabled. |
Auto (default) | The chosen scrollbar appears only when the content of the grid exceeds the grid window. |
Hidden | The chosen scrollbar appears to be hidden. |
Visible | The chosen scrollbar is always visible. |