81 writes to ImageList
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1535ImageList = null;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
188ImageList = _selectorImageList
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1985ImageList = CreateCopy(s_defaultImages); 2013ImageList = scaledImageList;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
459_treeView1.ImageList = actualTreeView.ImageList; 466_treeView1.ImageList = null;
System.Windows.Forms.Tests (74)
System\Windows\Forms\TreeNodeTests.cs (24)
994control.ImageList = imageList; 1033control.ImageList = imageList; 1067control.ImageList = imageList; 1087ImageList = imageList 1126ImageList = imageList 1177control.ImageList = imageList; 1229ImageList = imageList 1260ImageList = imageList 1384ImageList = imageList 1417ImageList = imageList 1505ImageList = imageList 1537ImageList = imageList 2976control.ImageList = imageList; 3015control.ImageList = imageList; 3049control.ImageList = imageList; 3069ImageList = imageList 3108ImageList = imageList 3159control.ImageList = imageList; 3213ImageList = imageList 3244ImageList = imageList 3368ImageList = imageList 3401ImageList = imageList 3489ImageList = imageList 3521ImageList = imageList
System\Windows\Forms\TreeViewTests.cs (50)
2059ImageList = imageList, 2082ImageList = imageList, 2106ImageList = imageList, 2131ImageList = imageList, 2172ImageList = imageList 2198ImageList = imageList 2273ImageList = imageList, 2293ImageList = imageList, 2314ImageList = imageList, 2341ImageList = imageList, 2378ImageList = imageList 2401ImageList = imageList 2431ImageList = value 2436treeView.ImageList = value; 2447ImageList = value 2452treeView.ImageList = value; 2463ImageList = imageList 2466treeView.ImageList = value; 2470treeView.ImageList = value; 2481ImageList = value 2486treeView.ImageList = value; 2497treeView.ImageList = value; 2501treeView.ImageList = value; 2515treeView.ImageList = value; 2519treeView.ImageList = value; 2530ImageList = imageList 2534treeView.ImageList = value; 2538treeView.ImageList = value; 2552treeView.ImageList = value; 2556treeView.ImageList = value; 2567ImageList = imageList1 2575treeView.ImageList = imageList2; 2586ImageList = imageList 2598ImageList = imageList 2611ImageList = imageList 2626ImageList = imageList 3419ImageList = imageList, 3442ImageList = imageList, 3466ImageList = imageList, 3491ImageList = imageList, 3532ImageList = imageList 3558ImageList = imageList 3623ImageList = imageList, 3643ImageList = imageList, 3664ImageList = imageList, 3691ImageList = imageList, 3728ImageList = imageList 3751ImageList = imageList 6023ImageList = imageList, 6103ImageList = imageList,
WinFormsControlsTest (1)
TreeViewTest.Designer.cs (1)
44this.treeView1.ImageList = this.imageList1;
54 references to ImageList
System.Windows.Forms (15)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (7)
512&& tv?.ImageList is not null 513&& ImageIndexer.Index >= tv.ImageList.Images.Count) 515return tv.ImageList.Images.Count - 1; 895&& tv?.ImageList is not null 896&& SelectedImageIndexer.Index >= tv.ImageList.Images.Count) 898return tv.ImageList.Images.Count - 1; 2215tv.ImageList is { } imageList && ImageIndexer.ActualIndex >= imageList.Images.Count
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeImageIndexer.cs (1)
35return _owner.TreeView.ImageList;
System\Windows\Forms\Controls\TreeView\TreeView.cs (6)
103_imageIndexer.ImageList = ImageList; 114_selectedImageIndexer.ImageList = ImageList; 596ImageIndex = (ImageList is not null) ? 0 : ImageList.Indexer.DefaultIndex; 1068SelectedImageIndex = (ImageList is not null) ? 0 : ImageList.Indexer.DefaultIndex; 1693IntPtr handle = (ImageList is null) ? IntPtr.Zero : ImageList.Handle;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
98ImageList? imageList = ImageList;
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
1984ImageList?.Dispose(); 1988_imageListCacheByDPI.Add(ScaleHelper.OneHundredPercentLogicalDpi, ImageList); 2260ImageList.ImageCollection? images = _picker?._treeViewCtrl?.ImageList?.Images;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
456if (actualTreeView.ImageList is not null) 459_treeView1.ImageList = actualTreeView.ImageList;
System\Windows\Forms\Design\TreeViewActionList.cs (2)
25get => _treeView.ImageList; 26set => TypeDescriptor.GetProperties(_treeView)[nameof(TreeView.ImageList)]!.SetValue(Component, value);
System.Windows.Forms.Tests (32)
System\Windows\Forms\TreeViewTests.cs (32)
75Assert.Null(control.ImageList); 2433Assert.Same(value, treeView.ImageList); 2437Assert.Same(value, treeView.ImageList); 2449Assert.Same(value, treeView.ImageList); 2453Assert.Same(value, treeView.ImageList); 2467Assert.Same(value, treeView.ImageList); 2471Assert.Same(value, treeView.ImageList); 2483Assert.Same(value, treeView.ImageList); 2487Assert.Same(value, treeView.ImageList); 2498Assert.Same(value, treeView.ImageList); 2502Assert.Same(value, treeView.ImageList); 2516Assert.Same(value, treeView.ImageList); 2520Assert.Same(value, treeView.ImageList); 2535Assert.Same(value, treeView.ImageList); 2539Assert.Same(value, treeView.ImageList); 2553Assert.Same(value, treeView.ImageList); 2557Assert.Same(value, treeView.ImageList); 2569Assert.Same(imageList1, treeView.ImageList); 2572Assert.Null(treeView.ImageList); 2577Assert.Same(imageList2, treeView.ImageList); 2588Assert.Same(imageList, treeView.ImageList); 2600Assert.Same(imageList, treeView.ImageList); 2613Assert.Same(imageList, treeView.ImageList); 2628Assert.Same(imageList, treeView.ImageList); 6051Assert.Same(imageList, control.ImageList); 6052Assert.True(control.ImageList.HandleCreated); 6069Assert.Same(imageList, control.ImageList); 6070Assert.True(control.ImageList.HandleCreated); 6132Assert.Same(imageList, control.ImageList); 6133Assert.True(control.ImageList.HandleCreated); 6150Assert.Same(imageList, control.ImageList); 6151Assert.True(control.ImageList.HandleCreated);