Back to Devexpress

ScrollBarMode Enum

aspnet-devexpress-dot-web-c1bb8017.md

latest3.5 KB
Original Source

ScrollBarMode Enum

Lists values that specify the display mode of a scroll bar.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum ScrollBarMode
vb
Public Enum ScrollBarMode

Members

NameDescription
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:

Remarks

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

| | --- | --- | |

ASPxGridView

|

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.

| |

ASPxTreeList

|

TreeListSettings.HorizontalScrollBarMode, TreeListSettings.VerticalScrollBarMode

| |

ASPxPivotGrid

|

PivotGridWebOptionsView.HorizontalScrollingMode, PivotGridWebOptionsView.VerticalScrollingMode

|

See Also

DevExpress.Web Namespace