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)
538if (_imageList is null) 543if (ImageIndexer.Index >= _imageList.Images.Count) 545return Math.Max(0, _imageList.Images.Count - 1); 616get => _imageList; 619if (value != _imageList) 644if (_imageList is not null) 647_imageList.RecreateHandle += ImageListRecreateHandle; 648_imageList.Disposed += DetachImageList; 649_imageList.ChangeHandle += ImageListChangedHandle; 655if (_imageList is not null) 657_imageList.RecreateHandle -= ImageListRecreateHandle; 658_imageList.Disposed -= DetachImageList; 659_imageList.ChangeHandle -= ImageListChangedHandle; 1009if (_imageList is null) 1014if (SelectedImageIndexer.Index >= _imageList.Images.Count) 1016return Math.Max(0, _imageList.Images.Count - 1); 1714if ((sender is not null) && (sender == _imageList) && IsHandleCreated) 1904if (_imageList is not null) 1906PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0, _imageList.Handle); 2370if (_imageList is not null) 2380if (_imageList is not null)