GridViewPageEventArgs(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.