ScrollBarMode Enum

Lists values that specify a scroll bar's display mode.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public enum ScrollBarMode

Members

Name Description
Auto

The component automatically shows a scrollbar when the content size exceeds the component size itself.

Hidden

The scrollbar is hidden.

Visible

The scrollbar is visible.

Remarks

Use the HorizontalScrollBarMode and VerticalScrollBarMode properties to set the scroll bars' display mode.

Horizontal scroll bar:

Vertical scroll bar:

<DxDataGrid Data="@DataSource" HorizontalScrollBarMode="@ScrollBarMode.Visible"         VerticalScrollBarMode="@ScrollBarMode.Auto" VerticalScrollableHeight="300">
    ...
</DxDataGrid>

Online Demo

Data Grid - Scrolling

See Also