SPGridView.PreviousPageIndex Property

Gets or sets an index that determines paging direction.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property PreviousPageIndex As Integer
    Get
    Friend Set
'Usage
Dim instance As SPGridView
Dim value As Integer

value = instance.PreviousPageIndex
public int PreviousPageIndex { get; internal set; }

Property Value

Type: System.Int32
An integer representing the index.

Remarks

This property can be used by DataSourceControl to determine the direction in which the user has paged. The default value is the index of the previous page, or a null reference (Nothing in Visual Basic).

See Also

Reference

SPGridView Class

SPGridView Members

Microsoft.SharePoint.WebControls Namespace