2 writes to _imageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
652
_imageList
= value;
1689
_imageList
= null;
21 references to _imageList
System.Windows.Forms (21)
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
567
if (
_imageList
is null)
572
if (ImageIndexer.Index >=
_imageList
.Images.Count)
574
return Math.Max(0,
_imageList
.Images.Count - 1);
645
get =>
_imageList
;
648
if (value !=
_imageList
)
673
if (
_imageList
is not null)
676
_imageList
.RecreateHandle += ImageListRecreateHandle;
677
_imageList
.Disposed += DetachImageList;
678
_imageList
.ChangeHandle += ImageListChangedHandle;
684
if (
_imageList
is not null)
686
_imageList
.RecreateHandle -= ImageListRecreateHandle;
687
_imageList
.Disposed -= DetachImageList;
688
_imageList
.ChangeHandle -= ImageListChangedHandle;
1130
if (
_imageList
is null)
1135
if (SelectedImageIndexer.Index >=
_imageList
.Images.Count)
1137
return Math.Max(0,
_imageList
.Images.Count - 1);
1847
if ((sender is not null) && (sender ==
_imageList
) && IsHandleCreated)
2046
if (
_imageList
is not null)
2048
PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0,
_imageList
.Handle);
2535
if (
_imageList
is not null)
2545
if (
_imageList
is not null)