Tab

ASPxCardViewPagerSettings.Mode Property

Gets or sets whether page-mode navigation is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue(GridViewPagerMode.ShowPager)]
public GridViewPagerMode Mode { get; set; }

Property Value

Type Default Description
GridViewPagerMode

ShowPager

A GridViewPagerMode enumeration value that specifies whether page-mode navigation is enabled.

Available values:

Name Description
ShowAllRecords

Disables page-mode navigation.

ShowPager

The ASPxGridView automatically splits content (rows) across multiple pages and provides end-users with an embedded page navigation UI - Pager. The maximum number of rows displayed on a page is specified by the ASPxGridViewPagerSettings.PageSize property.

EndlessPaging

The endless paging is enabled.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Mode
ASP.NET Bootstrap Controls BootstrapCardView
ASP.NET MVC Extensions CardViewSettings
CardViewSettings<CardType>
MVCxCardView
ASP.NET Web Forms Controls ASPxCardView

Remarks

To enable page-mode navigation, set the Mode property to GridViewPagerMode.ShowPager. To display all cards within a grid, set this property to GridViewPagerMode.ShowAllRecords. To enable endless paging mode, set the Mode property value to GridViewPagerMode.EndlessPaging.

To learn more, see Data Paging.

Note

The endless paging mode cannot be enabled or disabled on a callback.

See Also