3 writes to itemCount
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListView.cs (3)
3814
itemCount
++;
9059
owner.
itemCount
= 0;
9175
owner.
itemCount
--;
20 references to itemCount
System.Windows.Forms (20)
winforms\Managed\System\WinForms\ListView.cs (20)
2222
InsertItems(
itemCount
, items, false /*checkHosting*/);
3391
if (index < 0 || ((this.VirtualMode && index >= this.VirtualListSize) || (!this.VirtualMode && index >=
itemCount
))) {
3863
if (index ==
itemCount
- 1) {
3877
SendMessage(NativeMethods.LVM_SETITEMCOUNT,
itemCount
, 0);
4335
if (
itemCount
> 0 && listViewItemsToAdd != null) {
4626
for (int i = 0; i <
itemCount
; i++) {
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
))) {
5078
if (index < 0 || index >=
itemCount
)
5090
if (index < -1 || ((this.VirtualMode && index >= this.VirtualListSize) || (!this.VirtualMode && index >=
itemCount
))) {
8837
return owner.
itemCount
;
8867
if (displayIndex < 0 || displayIndex >= owner.
itemCount
)
8886
if (displayIndex < 0 || displayIndex >= owner.
itemCount
)
8909
owner.InsertItems(owner.
itemCount
, new ListViewItem[]{value}, true);
8952
owner.InsertItems(owner.
itemCount
, values, true);
8994
if (owner.
itemCount
> 0) {
9087
count = owner.
itemCount
;
9147
if (index < 0 || index >= owner.
itemCount
)
9185
if (owner.
itemCount
> 0) {
9193
ListViewItem[] items = new ListViewItem[this.owner.
itemCount
];