Bewerken

Share via


GridView.VirtualItemCount Property

Definition

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

public:
 virtual property int VirtualItemCount { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public virtual int VirtualItemCount { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.VirtualItemCount : int with get, set
Public Overridable Property VirtualItemCount As Integer

Property Value

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

Attributes

Remarks

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

Applies to