ASPxCardViewSettings.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 |
|
ASP.NET Web Forms Controls | ASPxCardView |
|
CardViewSettings |
|
|
CardViewSettings<CardType> |
|
|
MVCxCardView |
|
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 ASPxCardViewSettings.VerticalScrollBarStyle property.
Note
- When scrolling is enabled, width dimension properties (such as the grid’s ASPxWebControl.Width, its columns’ WebColumnBase.Width, etc.) should be specified.
- The HorizontalScrollBarMode and ASPxCardViewSettings.VerticalScrollBarStyle properties cannot be changed on a callback.
See Also