GridView::VirtualItemCount Property

.NET Framework (current version)
 
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 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)

public:
[BrowsableAttribute(false)]
property int VirtualItemCount {
	virtual int get();
	virtual void set(int value);
}

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
Available since 4.5
Return to top
Show: