Redigera

Dela via


PagerButtons Enum

Definition

Specifies the types of buttons to display for navigating between pages of content in a paginated control.

public enum class PagerButtons
public enum PagerButtons
type PagerButtons = 
Public Enum PagerButtons
Inheritance
PagerButtons

Fields

Name Value Description
NextPrevious 0

A set of pagination controls consisting of Previous and Next buttons.

Numeric 1

A set of pagination controls consisting of numbered link buttons to access pages directly.

NextPreviousFirstLast 2

A set of pagination controls consisting of Previous, Next, First, and Last buttons.

NumericFirstLast 3

A set of pagination controls consisting of numbered and First and Last link buttons.

Remarks

The PagerButtons enumeration represents the types of buttons to display for navigating between pages of content in a paginated control. This enumeration is used by the Mode property to specify the type of navigation buttons to display in controls that use the PagerSettings class, such as GridView and DetailsView.

PagerButtons.NextPrevious displays Next and Previous buttons to access the next and previous pages of the paginated control.

PagerButtons.NextPreviousFirstLast displays Next and Previous buttons as well as First and Last buttons to directly access the first and last pages of the paginated control.

PagerButtons.Numeric displays numeric link buttons corresponding to the pages of the paginated control.

PagerButtons.NumericFirstLast displays numeric link buttons corresponding to the pages of the paginated control as well as First and Last buttons to directly access the first and last pages of the paginated control.

Applies to

See also