2 writes to _imageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
623
_imageList
= value;
1555
_imageList
= null;
21 references to _imageList
System.Windows.Forms (21)
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
538
if (
_imageList
is null)
543
if (ImageIndexer.Index >=
_imageList
.Images.Count)
545
return Math.Max(0,
_imageList
.Images.Count - 1);
616
get =>
_imageList
;
619
if (value !=
_imageList
)
644
if (
_imageList
is not null)
647
_imageList
.RecreateHandle += ImageListRecreateHandle;
648
_imageList
.Disposed += DetachImageList;
649
_imageList
.ChangeHandle += ImageListChangedHandle;
655
if (
_imageList
is not null)
657
_imageList
.RecreateHandle -= ImageListRecreateHandle;
658
_imageList
.Disposed -= DetachImageList;
659
_imageList
.ChangeHandle -= ImageListChangedHandle;
1009
if (
_imageList
is null)
1014
if (SelectedImageIndexer.Index >=
_imageList
.Images.Count)
1016
return Math.Max(0,
_imageList
.Images.Count - 1);
1714
if ((sender is not null) && (sender ==
_imageList
) && IsHandleCreated)
1904
if (
_imageList
is not null)
1906
PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0,
_imageList
.Handle);
2370
if (
_imageList
is not null)
2380
if (
_imageList
is not null)