Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VirtualItemCount Property
Collapse the table of content
Expand the table of content

GridView.VirtualItemCount Property

.NET Framework 4.6 and 4.5

Gets or sets the virtual number of items in the data source that the GridView control is bound to when custom paging is used.

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

[<BrowsableAttribute(false)>]
abstract VirtualItemCount : int with get, set
[<BrowsableAttribute(false)>]
override VirtualItemCount : int with get, set

Property Value

Type: System.Int32
The virtual number of items in the data source that the GridView control is bound to when custom paging is used.

This property is used only when the value of the AllowCustomPaging property is true. For more information, see the AllowCustomPaging property.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft