DetailsViewPageEventArgs Constructor (Int32)

 

Initializes a new instance of the DetailsViewPageEventArgs class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
DetailsViewPageEventArgs(
	int newPageIndex
)

Parameters

newPageIndex
Type: System::Int32

The index of the new page to display.

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

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

Property

Initial value

NewPageIndex

The value of the newPageIndex parameter.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: