2 writes to _stateImageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
698
_stateImageList
= value;
1557
_stateImageList
= null;
26 references to _stateImageList
System.Windows.Forms (26)
System\Windows\Forms\Controls\TreeView\TreeView.cs (26)
665
if (
_stateImageList
is not null)
668
_stateImageList
.RecreateHandle += StateImageListRecreateHandle;
669
_stateImageList
.Disposed += DetachStateImageList;
670
_stateImageList
.ChangeHandle += StateImageListChangedHandle;
676
if (
_stateImageList
is not null)
678
_stateImageList
.RecreateHandle -= StateImageListRecreateHandle;
679
_stateImageList
.Disposed -= DetachStateImageList;
680
_stateImageList
.ChangeHandle -= StateImageListChangedHandle;
692
get =>
_stateImageList
;
695
if (value !=
_stateImageList
)
710
if ((
_stateImageList
is null ||
_stateImageList
.Images.Count == 0) && CheckBoxes)
1758
if (sender is null || sender !=
_stateImageList
|| !IsHandleCreated)
1765
if (
_stateImageList
is null ||
_stateImageList
.Images.Count <= 0)
1771
Image[] images = new Image[
_stateImageList
.Images.Count + 1];
1772
images[0] =
_stateImageList
.Images[0];
1773
for (int i = 1; i <=
_stateImageList
.Images.Count; i++)
1775
images[i] =
_stateImageList
.Images[i - 1];
1909
if (
_stateImageList
is not null)
1972
if (
_stateImageList
is null ||
_stateImageList
.Images.Count <= 0)
1983
Image[] images = new Image[
_stateImageList
.Images.Count + 1];
1984
images[0] =
_stateImageList
.Images[0];
1985
for (int i = 1; i <=
_stateImageList
.Images.Count; i++)
1987
images[i] =
_stateImageList
.Images[i - 1];