Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataNavigatorButtons.PageRecordCount Property

Gets or sets the number of records by which the current position moves when a user presses the Previous Page or Next Page button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public override int PageRecordCount { get; set; }

#Property Value

Type Description
Int32

The number of records in a page.

#Remarks

The DataNavigatorButtons.PrevPage and DataNavigatorButtons.NextPage buttons are used to navigate through dataset records by page. The PageRecordCount property specifies the number of records in a page.

dataNavigator1.Buttons.PageRecordCount = 10;

The Data Grid’s built-in data navigator ignores the PageRecordCount property. The page count is specified by the number of visible records that the control currently displays.

The PageRecordCount property does not accept values less than 2.

See Also