2 writes to _stateImageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
696
_stateImageList
= value;
1555
_stateImageList
= null;
26 references to _stateImageList
System.Windows.Forms (26)
System\Windows\Forms\Controls\TreeView\TreeView.cs (26)
663
if (
_stateImageList
is not null)
666
_stateImageList
.RecreateHandle += StateImageListRecreateHandle;
667
_stateImageList
.Disposed += DetachStateImageList;
668
_stateImageList
.ChangeHandle += StateImageListChangedHandle;
674
if (
_stateImageList
is not null)
676
_stateImageList
.RecreateHandle -= StateImageListRecreateHandle;
677
_stateImageList
.Disposed -= DetachStateImageList;
678
_stateImageList
.ChangeHandle -= StateImageListChangedHandle;
690
get =>
_stateImageList
;
693
if (value !=
_stateImageList
)
708
if ((
_stateImageList
is null ||
_stateImageList
.Images.Count == 0) && CheckBoxes)
1756
if (sender is null || sender !=
_stateImageList
|| !IsHandleCreated)
1763
if (
_stateImageList
is null ||
_stateImageList
.Images.Count <= 0)
1769
Image[] images = new Image[
_stateImageList
.Images.Count + 1];
1770
images[0] =
_stateImageList
.Images[0];
1771
for (int i = 1; i <=
_stateImageList
.Images.Count; i++)
1773
images[i] =
_stateImageList
.Images[i - 1];
1906
if (
_stateImageList
is not null)
1969
if (
_stateImageList
is null ||
_stateImageList
.Images.Count <= 0)
1980
Image[] images = new Image[
_stateImageList
.Images.Count + 1];
1981
images[0] =
_stateImageList
.Images[0];
1982
for (int i = 1; i <=
_stateImageList
.Images.Count; i++)
1984
images[i] =
_stateImageList
.Images[i - 1];