PagerButtons 枚举

定义

指定为在已分页的控件中的内容页之间导航而显示的按钮的类型。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
继承
PagerButtons

字段

NextPrevious 0

一组由“上一页”和“下一页”按钮组成的分页控件。A set of pagination controls consisting of Previous and Next buttons.

NextPreviousFirstLast 2

一组由“上一页”、“下一页”、“首页”和“尾页”按钮组成的分页控件。A set of pagination controls consisting of Previous, Next, First, and Last buttons.

Numeric 1

一组由用于直接访问页的带编号的链接按钮组成的分页控件。A set of pagination controls consisting of numbered link buttons to access pages directly.

NumericFirstLast 3

一组由带编号的链接按钮以及“首页”和“尾页”链接按钮组成的分页控件。A set of pagination controls consisting of numbered and First and Last link buttons.

注解

PagerButtons枚举表示为在分页控件中的内容页之间导航而显示的按钮类型。The PagerButtons enumeration represents the types of buttons to display for navigating between pages of content in a paginated control. 此枚举由Mode属性用于指定要在PagerSettings使用类的控件 (如GridViewDetailsView) 中显示的导航按钮的类型。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显示 "下一步" 和 "上一个" 按钮, 以访问分页控件的下一页和上一页。PagerButtons.NextPrevious displays Next and Previous buttons to access the next and previous pages of the paginated control.

PagerButtons.NextPreviousFirstLast显示 "下一步" 和 "上一个" 按钮以及 "第一个" 和 "最后一个" 按钮, 以直接访问分页控件的第一页和最后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显示与分页控件的页相对应的数值链接按钮。PagerButtons.Numeric displays numeric link buttons corresponding to the pages of the paginated control.

PagerButtons.NumericFirstLast显示与分页控件的页相对应的数值链接按钮以及第一个最后一个按钮, 以直接访问分页控件的第一页和最后一页。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.

适用于

另请参阅