WebGrid.PageCount Property

Gets the number of pages that the WebGrid instance contains.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public ReadOnly Property PageCount As Integer 
    Get
'Usage
Dim instance As WebGrid 
Dim value As Integer 

value = instance.PageCount
public int PageCount { get; }
public:
property int PageCount {
    int get ();
}
member PageCount : int
function get PageCount () : int

Property Value

Type: System.Int32
The page count.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace