Επεξεργασία

Κοινή χρήση μέσω


GridViewPageEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewPageEventArgs class.

public:
 GridViewPageEventArgs(int newPageIndex);
public GridViewPageEventArgs (int newPageIndex);
new System.Web.UI.WebControls.GridViewPageEventArgs : int -> System.Web.UI.WebControls.GridViewPageEventArgs
Public Sub New (newPageIndex As Integer)

Parameters

newPageIndex
Int32

The index of the new page to display.

Remarks

Use this constructor to initialize a new instance of the GridViewPageEventArgs class.

The following table shows the initial property value for an instance of GridViewPageEventArgs.

Property Initial value
NewPageIndex The value of the newPageIndex parameter.

Note

This constructor is used primarily by control developers when raising events.

Applies to

See also