14 writes to SubItemCount
System.Windows.Forms (14)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (7)
102
SubItemCount
= items.Length;
120
SubItemCount
= subItems.Length;
193
SubItemCount
= items.Length;
211
SubItemCount
= subItems.Length;
780
SubItemCount
= 1;
919
newItem.
SubItemCount
= SubItemCount;
1206
SubItemCount
= info.GetInt32(nameof(SubItemCount));
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (7)
114
_owner.UpdateSubItems(_owner.
SubItemCount
++);
143
_owner.
SubItemCount
++;
160
_owner.
SubItemCount
++;
177
_owner.
SubItemCount
++;
206
_owner.
SubItemCount
= 0;
313
_owner.
SubItemCount
++;
357
_owner.
SubItemCount
--;
22 references to SubItemCount
System.Windows.Forms (22)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (18)
284
if (
SubItemCount
== 0)
392
if (
SubItemCount
== 0)
415
if (
SubItemCount
== 0)
611
if (
SubItemCount
== 0)
777
if (
SubItemCount
== 0)
810
if (
SubItemCount
== 0)
919
newItem.SubItemCount =
SubItemCount
;
1204
else if (entry.Name == nameof(
SubItemCount
))
1206
SubItemCount = info.GetInt32(nameof(
SubItemCount
));
1207
if (
SubItemCount
> 0)
1251
_subItems.EnsureCapacity(
SubItemCount
);
1252
for (int i = 1; i <
SubItemCount
; i++)
1273
if (
SubItemCount
> 1)
1275
info.AddValue(nameof(
SubItemCount
),
SubItemCount
);
1276
for (int i = 1; i <
SubItemCount
; i++)
1318
internal void UpdateSubItems(int index) => UpdateSubItems(index,
SubItemCount
);
1327
int subItemCount =
SubItemCount
;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (4)
30
public int Count => _owner.
SubItemCount
;
196
int oldCount = _owner.
SubItemCount
;
234
if (_owner.
SubItemCount
>= MaxSubItems)
356
int oldCount = _owner.
SubItemCount
;