ComponentOne DataGrid for WPF and Silverlight
DataGrid for WPF and Silverlight Overview / DataGrid Features / DataGrid Appearance / Table Formatting Options / Setting Vertical and Horizontal Scrollbar Visibility
In This Topic
    Setting Vertical and Horizontal Scrollbar Visibility
    In This Topic

    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.