Class GridScrollbarMode
Defines scrollbar setting of the grid control with HScrollBehavior and VScrollBehavior. You can combine the various options.
Inheritance
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridScrollbarMode : Enum
Fields
Automatic
Show scrollbars only when necessary.
Declaration
public const GridScrollbarMode Automatic
Field Value
| Type |
|---|
| GridScrollbarMode |
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.
Declaration
public const GridScrollbarMode AutoScroll
Field Value
| Type |
|---|
| GridScrollbarMode |
DetectIfShared
Initial setting. Detect parent view if it has shared scrollbars.
Declaration
public const GridScrollbarMode DetectIfShared
Field Value
| Type |
|---|
| GridScrollbarMode |
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.
Declaration
public const GridScrollbarMode DisableAutoScroll
Field Value
| Type |
|---|
| GridScrollbarMode |
Disabled
Disable scrollbars.
Declaration
public const GridScrollbarMode Disabled
Field Value
| Type |
|---|
| GridScrollbarMode |
Enabled
Always show scrollbars.
Declaration
public const GridScrollbarMode Enabled
Field Value
| Type |
|---|
| GridScrollbarMode |
Shared
Scrollbars are shared with a parent control.
Declaration
public const GridScrollbarMode Shared
Field Value
| Type |
|---|
| GridScrollbarMode |