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)
536if (_imageList is null) 541if (ImageIndexer.Index >= _imageList.Images.Count) 543return Math.Max(0, _imageList.Images.Count - 1); 614get => _imageList; 617if (value != _imageList) 642if (_imageList is not null) 645_imageList.RecreateHandle += ImageListRecreateHandle; 646_imageList.Disposed += DetachImageList; 647_imageList.ChangeHandle += ImageListChangedHandle; 653if (_imageList is not null) 655_imageList.RecreateHandle -= ImageListRecreateHandle; 656_imageList.Disposed -= DetachImageList; 657_imageList.ChangeHandle -= ImageListChangedHandle; 1007if (_imageList is null) 1012if (SelectedImageIndexer.Index >= _imageList.Images.Count) 1014return Math.Max(0, _imageList.Images.Count - 1); 1712if ((sender is not null) && (sender == _imageList) && IsHandleCreated) 1901if (_imageList is not null) 1903PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, 0, _imageList.Handle); 2364if (_imageList is not null) 2374if (_imageList is not null)