2 writes to _imageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
621
_imageList
= value;
1553
_imageList
= null;
21 references to _imageList
System.Windows.Forms (21)
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
536
if (
_imageList
is null)
541
if (ImageIndexer.Index >=
_imageList
.Images.Count)
543
return Math.Max(0,
_imageList
.Images.Count - 1);
614
get =>
_imageList
;
617
if (value !=
_imageList
)
642
if (
_imageList
is not null)
645
_imageList
.RecreateHandle += ImageListRecreateHandle;
646
_imageList
.Disposed += DetachImageList;
647
_imageList
.ChangeHandle += ImageListChangedHandle;
653
if (
_imageList
is not null)
655
_imageList
.RecreateHandle -= ImageListRecreateHandle;
656
_imageList
.Disposed -= DetachImageList;
657
_imageList
.ChangeHandle -= ImageListChangedHandle;
1007
if (
_imageList
is null)
1012
if (SelectedImageIndexer.Index >=
_imageList
.Images.Count)
1014
return Math.Max(0,
_imageList
.Images.Count - 1);
1712
if ((sender is not null) && (sender ==
_imageList
) && IsHandleCreated)
1901
if (
_imageList
is not null)
1903
PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0,
_imageList
.Handle);
2364
if (
_imageList
is not null)
2374
if (
_imageList
is not null)