ASPxGridSettings.HorizontalScrollBarMode Property
Gets or sets a value specifying the horizontal scrollbar’s display mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue(ScrollBarMode.Hidden)]
public ScrollBarMode HorizontalScrollBarMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ScrollBarMode | **Hidden** | One of the ScrollBarMode enumeration values. |
Available values:
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. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to HorizontalScrollBarMode |
---|---|---|
ASP.NET Bootstrap Controls | BootstrapCardView |
|
BootstrapGridView |
|
|
ASP.NET Web Forms Controls | ASPxCardView |
|
ASPxGridView |
|
|
ASPxVerticalGrid |
|
|
GridViewProperties |
|
|
CardViewSettings |
|
|
CardViewSettings<CardType> |
|
|
GridViewSettings |
|
|
GridViewSettings<RowType> |
|
|
MVCxCardView |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
|
MVCxVerticalGrid |
|
|
VerticalGridSettings |
|
|
VerticalGridSettings<ColumnType> |
|
Remarks
Use the HorizontalScrollBarMode property to control the visibility of the horizontal scroll bar in the control.
The vertical scrollbar display mode can be specified by the ASPxGridSettings.VerticalScrollBarMode property.
Note
- When scrolling is enabled (the HorizontalScrollBarMode property value is set to ScrollBarMode.Auto or ScrollBarMode.Visible), width dimension properties (such as the grid’s ASPxWebControl.Width, its columns’ WebColumnBase.Width, etc.) should be specified.
- The HorizontalScrollBarMode and ASPxGridSettings.VerticalScrollBarMode properties cannot be changed on a callback.
- When the grid uses the horizontal scrollbar, end-users cannot switch pages using swipe gestures (the ASPxGridBase.EnablePagingGestures property is not in effect).
See Also