DataPager.NumericButtonCount Property

Silverlight

Gets or sets a value that indicates the number of page buttons shown on the DataPager user interface.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public int NumericButtonCount { get; set; }
<sdk:DataPager NumericButtonCount="int"/>

Property Value

Type: System.Int32
The number of page buttons shown on the DataPager user interface.

Dependency property identifier field: NumericButtonCountProperty

When the AutoEllipsis property is true, the last numeric page button is replaced with an ellipsis. The ellipsis is counted as a numeric page button in the NumericButtonCount property. For example, if NumericButtonCount is 5, the DataPager will display numeric buttons for pages 1 through 4, and an ellipsis for the last button: "1 2 3 4 … ".

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: