System.Windows.Forms.ListView.VirtualListSize Property

Gets or sets the number of System.Windows.Forms.ListViewItem objects contained in the list when in virtual mode.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.DefaultValue(0)]
public int VirtualListSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Getting or setting the ListView.VirtualListSize property when ListView.VirtualMode set to false will have no effect on the System.Windows.Forms.ListView.

If ListView.VirtualMode is set to true, and the ListView.VirtualListSize property is greater than 0, you must handle the ListView.RetrieveVirtualItem event, providing a valid System.Windows.Forms.ListViewItem.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0