Skip to main content

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