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)
539if (_imageList is null) 544if (ImageIndexer.Index >= _imageList.Images.Count) 546return Math.Max(0, _imageList.Images.Count - 1); 617get => _imageList; 620if (value != _imageList) 645if (_imageList is not null) 648_imageList.RecreateHandle += ImageListRecreateHandle; 649_imageList.Disposed += DetachImageList; 650_imageList.ChangeHandle += ImageListChangedHandle; 656if (_imageList is not null) 658_imageList.RecreateHandle -= ImageListRecreateHandle; 659_imageList.Disposed -= DetachImageList; 660_imageList.ChangeHandle -= ImageListChangedHandle; 1010if (_imageList is null) 1015if (SelectedImageIndexer.Index >= _imageList.Images.Count) 1017return Math.Max(0, _imageList.Images.Count - 1); 1715if ((sender is not null) && (sender == _imageList) && IsHandleCreated) 1905if (_imageList is not null) 1907PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0, _imageList.Handle); 2371if (_imageList is not null) 2381if (_imageList is not null)