ASPxVerticalGridPagerSettings.Mode Property
Gets or sets whether page-mode navigation is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.2.dll
Declaration
[DefaultValue(GridViewPagerMode.ShowPager)]
public VerticalGridPagerMode Mode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
VerticalGridPagerMode | **ShowPager** | A VerticalGridPagerMode enumeration value that specifies whether page-mode navigation is enabled. |
Available values:
Name | Description |
---|---|
ShowAllRecords | Disables page-mode navigation. |
ShowPager | The ASPxVerticalGrid automatically splits content (records) across multiple pages and provides end-users with an embedded page navigation UI - pager. The maximum number of records displayed on a page is specified by the ASPxVerticalGridPagerSettings.PageSize property. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Mode |
---|---|
ASPxVerticalGrid |
|
MVCxVerticalGrid |
|
VerticalGridSettings |
|
VerticalGridSettings<ColumnType> |
|
Remarks
To enable page-mode navigation, set the Mode property to GridViewPagerMode.ShowPager. To display all records within a grid, set this property to GridViewPagerMode.ShowAllRecords.
To learn more, see Data Paging.