Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)]
public virtual int VirtualItemCount { 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