DetailsViewPageEventArgs Constructor (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: