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.

Gets or sets the index of the current page.

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

public int CurrentPageIndex { get; set; }
public:
property int CurrentPageIndex {
	int get();
	void set(int value);
}
member CurrentPageIndex : int with get, set
Public Property CurrentPageIndex As Integer

Property Value

Type:

The index of the current page.

Use the property to specify or determine the index of the current page.

.NET Framework
Available since 1.1
Return to top