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)
567if (_imageList is null) 572if (ImageIndexer.Index >= _imageList.Images.Count) 574return Math.Max(0, _imageList.Images.Count - 1); 645get => _imageList; 648if (value != _imageList) 673if (_imageList is not null) 676_imageList.RecreateHandle += ImageListRecreateHandle; 677_imageList.Disposed += DetachImageList; 678_imageList.ChangeHandle += ImageListChangedHandle; 684if (_imageList is not null) 686_imageList.RecreateHandle -= ImageListRecreateHandle; 687_imageList.Disposed -= DetachImageList; 688_imageList.ChangeHandle -= ImageListChangedHandle; 1130if (_imageList is null) 1135if (SelectedImageIndexer.Index >= _imageList.Images.Count) 1137return Math.Max(0, _imageList.Images.Count - 1); 1847if ((sender is not null) && (sender == _imageList) && IsHandleCreated) 2046if (_imageList is not null) 2048PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0, _imageList.Handle); 2535if (_imageList is not null) 2545if (_imageList is not null)