ASPxVerticalGridPagerSettings.Mode Property
Gets or sets whether page-mode navigation is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
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:
Library | Object Type | Path to Mode |
---|---|---|
ASP.NET Web Forms Controls | ASPxVerticalGrid |
|
ASP.NET MVC Extensions | VerticalGridSettings |
|
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.