ASPxCardViewSettings.VerticalScrollBarStyle Property
Gets or sets the operating mode of the vertical scrollbar.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue(GridViewVerticalScrollBarStyle.Standard)]
public GridViewVerticalScrollBarStyle VerticalScrollBarStyle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridViewVerticalScrollBarStyle | **Standard** | A GridViewVerticalScrollBarStyle enumeration value that specifies the operating mode of the vertical scrollbar. |
Available values:
Name | Description |
---|---|
Standard | The vertical scrollbar operates in the standard way; it scrolls data rows displayed within the current page. |
Virtual | Enables the virtual paging mode. End-users can navigate through data rows using the vertical scrollbar. When a scroll button is clicked, the ASPxGridView switches to the next/previous page. |
VirtualSmooth | Enables the virtual paging mode. End-users can navigate through data rows using the vertical scrollbar. When a scroll button is clicked, the ASPxGridView smoothly scrolls data. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to VerticalScrollBarStyle |
---|---|---|
ASP.NET Bootstrap Controls | BootstrapCardView |
|
ASP.NET Web Forms Controls | ASPxCardView |
|
CardViewSettings |
|
|
CardViewSettings<CardType> |
|
|
MVCxCardView |
|
Remarks
The vertical scrollbar is displayed if it is enabled via the ASPxCardViewSettings.VerticalScrollBarStyle
property. In this case, the scrollable area’s height is specified by the ASPxGridSettings.VerticalScrollableHeight property. The vertical scrollbar is automatically activated, if the total height of cards displayed within a page is greater than the scrollable area’s height.
Note
ASPxCardView supports only the Standard scrollbar mode; it scrolls cards displayed on the current page. The other values of GridViewVerticalScrollBarStyle enumeration do not affect on the control’s appearance and behavior.