15 references to VirtualListSize
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ListView.cs (15)
1840
topIndex = Math.Min(topIndex, this.
VirtualListSize
- 1);
3391
if (index < 0 || ((this.VirtualMode && index >= this.
VirtualListSize
) || (!this.VirtualMode && index >= itemCount))) {
4339
if (VirtualMode &&
VirtualListSize
> -1 && !DesignMode) {
4340
SendMessage(NativeMethods.LVM_SETITEMCOUNT,
VirtualListSize
, 0);
4671
if (startIndex < 0 || startIndex >= this.
VirtualListSize
)
4675
if (endIndex < 0 || endIndex >= this.
VirtualListSize
)
5050
if (index < 0 || ((this.VirtualMode && index >= this.
VirtualListSize
) || (!this.VirtualMode && index >= itemCount))) {
5063
if (index < 0 || ((this.VirtualMode && index >= this.
VirtualListSize
) || (!this.VirtualMode && index >= itemCount))) {
5090
if (index < -1 || ((this.VirtualMode && index >= this.
VirtualListSize
) || (!this.VirtualMode && index >= itemCount))) {
5928
if (this.
VirtualListSize
> 0) {
5929
ListViewVirtualItemsSelectionRangeChangedEventArgs lvvisrce = new ListViewVirtualItemsSelectionRangeChangedEventArgs(0, this.
VirtualListSize
-1, newState != 0);
6198
if (startIndex >= this.
VirtualListSize
) {
7201
if (itemIndex < 0 || itemIndex >= this.owner.
VirtualListSize
)
7265
if (itemIndex < 0 || itemIndex >= this.owner.
VirtualListSize
)
8834
return owner.
VirtualListSize
;