aspnet-devexpress-dot-web-c1bb8017.md
Lists values that specify the display mode of a scroll bar.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum ScrollBarMode
Public Enum ScrollBarMode
| Name | Description |
|---|---|
Hidden |
The scrollbar is hidden.
|
| Visible |
The scrollbar is visible.
|
| Auto |
The scrollbar is automatically shown when the size of the control content exceeds the size of the control itself.
|
The following properties accept/return ScrollBarMode values:
The ScrollBarMode enumerator contains values specifying the display mode of scroll bars within the ASPxGridView, ASPxCardView, ASPxTreeList and ASPxPivotGrid controls.
The following table lists controls and appropriate properties to set the scroll bar’s display mode.
|
DevExpress Component
|
Property
| | --- | --- | |
|
ASPxGridSettings.HorizontalScrollBarMode, ASPxGridSettings.VerticalScrollBarMode
Note
Setting these properties to ScrollBarMode.Auto and ScrollBarMode.Auto enables the ASPxGridView’s scrolling functionality and the grid is rendered as a table with fixed layout.
| |
|
TreeListSettings.HorizontalScrollBarMode, TreeListSettings.VerticalScrollBarMode
| |
|
PivotGridWebOptionsView.HorizontalScrollingMode, PivotGridWebOptionsView.VerticalScrollingMode
|
See Also