Export (0) Print
Expand All

WebGridPagerModes Enumeration

Specifies flags that describe the methods that are provided for moving between the pages of a WebGrid instance.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

[FlagsAttribute]
public enum WebGridPagerModes

Member nameDescription
NumericIndicates that methods for moving to a nearby WebGrid page by using a page number are provided.
NextPreviousIndicates that methods for moving to the next or previous WebGrid page are provided.
FirstLastIndicates that methods for moving directly to the first or last WebGrid page are provided.
AllIndicates that all methods for moving between WebGrid pages are provided.

The All flag is equivalent to the FirstLast, NextPrevious, and Numeric flags combined.

When the All flag is set, users can move directly to the first or last page of the WebGrid instance, to the next or previous page, or to a nearby page by using a page number.

Show:
© 2015 Microsoft