menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum GridScrollbarMode - API Reference

    Show / Hide Table of Contents

    Enum GridScrollbarMode

    Defines scrollbar setting of the grid control with HScrollBehavior and VScrollBehavior. You can combine the various options.

    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    [Flags]
    public enum GridScrollbarMode

    Fields

    Name Description
    Automatic

    Show scrollbars only when necessary.

    AutoScroll

    When you resize cells in the grid or when you resize the grid window automatically and you are at the last row or column of the grid, automatically scroll the grid so that whitespace below or right of the grid is minimal. Starting with version 3.2.1.1 this is now the default behavior. You need to explicitly DisableAutoScroll to disable AutoScroll.

    DetectIfShared

    Initial setting. Detect parent view if it has shared scrollbars.

    DisableAutoScroll

    When you resize cells in the grid or when you resize the grid window automatically and you are at the last row or column of the grid, disable automatically scrolling the grid.

    Disabled

    Disable scrollbars.

    Enabled

    Always show scrollbars.

    Shared

    Scrollbars are shared with a parent control.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved