2 writes to _imageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
624
_imageList
= value;
1556
_imageList
= null;
21 references to _imageList
System.Windows.Forms (21)
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
539
if (
_imageList
is null)
544
if (ImageIndexer.Index >=
_imageList
.Images.Count)
546
return Math.Max(0,
_imageList
.Images.Count - 1);
617
get =>
_imageList
;
620
if (value !=
_imageList
)
645
if (
_imageList
is not null)
648
_imageList
.RecreateHandle += ImageListRecreateHandle;
649
_imageList
.Disposed += DetachImageList;
650
_imageList
.ChangeHandle += ImageListChangedHandle;
656
if (
_imageList
is not null)
658
_imageList
.RecreateHandle -= ImageListRecreateHandle;
659
_imageList
.Disposed -= DetachImageList;
660
_imageList
.ChangeHandle -= ImageListChangedHandle;
1010
if (
_imageList
is null)
1015
if (SelectedImageIndexer.Index >=
_imageList
.Images.Count)
1017
return Math.Max(0,
_imageList
.Images.Count - 1);
1715
if ((sender is not null) && (sender ==
_imageList
) && IsHandleCreated)
1905
if (
_imageList
is not null)
1907
PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0,
_imageList
.Handle);
2371
if (
_imageList
is not null)
2381
if (
_imageList
is not null)