14 writes to SubItemCount
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ListViewItem.cs (14)
159
this.
SubItemCount
= items.Length;
181
this.
SubItemCount
= this.subItems.Length;
268
this.
SubItemCount
= items.Length;
290
this.
SubItemCount
= this.subItems.Length;
851
SubItemCount
= 1;
995
newItem.
SubItemCount
= this.SubItemCount;
1265
SubItemCount
= info.GetInt32(entry.Name);
1838
owner.UpdateSubItems(owner.
SubItemCount
++);
1865
owner.subItems[owner.
SubItemCount
++] = item;
1881
owner.subItems[owner.
SubItemCount
++] = new ListViewSubItem(owner, item);
1897
owner.subItems[owner.
SubItemCount
++] = new ListViewSubItem(owner, item, foreColor, backColor, font);
1922
owner.
SubItemCount
= 0;
2092
owner.
SubItemCount
++;
2142
owner.
SubItemCount
--;
28 references to SubItemCount
System.Windows.Forms (28)
winforms\Managed\System\WinForms\ListViewItem.cs (28)
343
if (
SubItemCount
== 0) {
443
if (
SubItemCount
== 0) {
468
if (
SubItemCount
== 0) {
671
if (
SubItemCount
== 0) {
848
if (
SubItemCount
== 0) {
890
if (
SubItemCount
== 0) {
995
newItem.SubItemCount = this.
SubItemCount
;
1267
if (
SubItemCount
> 0)
1302
ListViewSubItem[] newItems = new ListViewSubItem[
SubItemCount
];
1303
for (int i = 1; i <
SubItemCount
; i++) {
1327
if (
SubItemCount
> 1) {
1328
info.AddValue("SubItemCount",
SubItemCount
);
1329
for (int i = 1; i <
SubItemCount
; i++) {
1377
UpdateSubItems(index,
SubItemCount
);
1382
int subItemCount =
SubItemCount
;
1734
return owner.
SubItemCount
;
1837
owner.subItems[owner.
SubItemCount
] = item;
1920
int oldCount = owner.
SubItemCount
;
1966
if (owner.
SubItemCount
== ListViewItem.MAX_SUBITEMS) {
1970
if (owner.
SubItemCount
+ size > owner.subItems.Length) {
1981
while(newSize - owner.
SubItemCount
< size) {
1992
Array.Copy(owner.subItems, index, newItems, index + size, owner.
SubItemCount
- index);
1995
Array.Copy(owner.subItems, newItems, owner.
SubItemCount
);
2005
for(int i = owner.
SubItemCount
- 1; i >= index; i--) {
2137
for (int i = index + 1; i < owner.
SubItemCount
; i++) {
2141
int oldCount = owner.
SubItemCount
;
2143
owner.subItems[owner.
SubItemCount
] = null;
2172
return new WindowsFormsUtils.ArraySubsetEnumerator(owner.subItems, owner.
SubItemCount
);