Skip to main content

DataPager.NumericButtonCount Property

Gets the number of numeric buttons displayed within the DataPager. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DataPager

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public int NumericButtonCount { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the number of numeric buttons displayed within the Data Pager.

#Remarks

The Data Pager supports multiple display modes (DataPager.DisplayMode) that specify which buttons used to navigate through the pages are displayed. In several modes, the Data Pager displays numeric buttons with or without navigation buttons. Clicking a numeric button switches to the corresponding page.

If the total number of pages is greater than the number of numeric buttons and the DataPager.AutoEllipsis property is set to true, the outside left and/or right numeric buttons display an ellipsis.

To display the total number of pages, enable the DataPager.ShowTotalPageCount option. In this instance, the Data Pager displays the total number of pages and an editable area allowing the end-user to specify the active page.

DataPagerAndGrid

See Also