19 writes to StateImageList
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2978
StateImageList
= null;
System.Windows.Forms.Tests (18)
System\Windows\Forms\ListViewTests.cs (18)
822
StateImageList
= stateImageList,
849
StateImageList
= stateImageList,
961
StateImageList
= stateImageList
1005
StateImageList
= stateImageList
3538
StateImageList
= value
3544
listView.
StateImageList
= value;
3561
StateImageList
= imageList
3564
listView.
StateImageList
= value;
3569
listView.
StateImageList
= value;
3743
listView.
StateImageList
= value;
3751
listView.
StateImageList
= value;
3923
listView.
StateImageList
= imageList;
3933
listView.
StateImageList
= value;
3941
listView.
StateImageList
= value;
3962
StateImageList
= imageList1
3971
listView.
StateImageList
= imageList2;
3998
listView.
StateImageList
= imageList1;
4013
listView.
StateImageList
= imageList2;
19 references to StateImageList
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
517
if ((!value &&
StateImageList
is not null && IsHandleCreated) ||
5549
nint handle = (
StateImageList
is null) ? 0 :
StateImageList
.Handle;
6389
if (IsHandleCreated &&
StateImageList
is not null)
System.Windows.Forms.Tests (15)
System\Windows\Forms\ListViewTests.cs (15)
137
Assert.Null(control.
StateImageList
);
3540
Assert.Same(value, listView.
StateImageList
);
3545
Assert.Same(value, listView.
StateImageList
);
3565
Assert.Same(value, listView.
StateImageList
);
3570
Assert.Same(value, listView.
StateImageList
);
3744
Assert.Same(value, listView.
StateImageList
);
3752
Assert.Same(value, listView.
StateImageList
);
3934
Assert.Same(value, listView.
StateImageList
);
3942
Assert.Same(value, listView.
StateImageList
);
3964
Assert.Same(imageList1, listView.
StateImageList
);
3967
Assert.Null(listView.
StateImageList
);
3973
Assert.Same(imageList2, listView.
StateImageList
);
3999
Assert.Same(imageList1, listView.
StateImageList
);
4006
Assert.Null(listView.
StateImageList
);
4015
Assert.Same(imageList2, listView.
StateImageList
);