28 writes to ImageList
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
972
private void DetachImageList(object? sender, EventArgs e) =>
ImageList
= null;
System.Windows.Forms.Tests (27)
System\Windows\Forms\TabControlTests.cs (27)
1023
ImageList
= imageList
1162
ImageList
= value
1168
control.
ImageList
= value;
1180
ImageList
= oldValue
1183
control.
ImageList
= value;
1188
control.
ImageList
= value;
1206
control.
ImageList
= value;
1214
control.
ImageList
= value;
1229
ImageList
= oldValue
1239
control.
ImageList
= value;
1247
control.
ImageList
= value;
1271
control.
ImageList
= imageList;
1276
control.
ImageList
= null;
1286
control.
ImageList
= imageList;
1299
control.
ImageList
= imageList;
1304
control.
ImageList
= null;
1315
ImageList
= imageList1
1324
control.
ImageList
= imageList2;
1344
control.
ImageList
= imageList1;
1359
control.
ImageList
= imageList2;
1377
ImageList
= imageList1
1388
control.
ImageList
= imageList2;
1411
control.
ImageList
= imageList1;
1429
control.
ImageList
= imageList2;
3578
control.
ImageList
= imageList;
3591
control.
ImageList
= imageList;
3604
control.
ImageList
= imageList;
32 references to ImageList
System.Windows.Forms (3)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1142
PInvokeCore.SendMessage(this, PInvoke.TCM_SETIMAGELIST, 0,
ImageList
!.Handle);
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
235
ImageIndexer.ImageList = parent.
ImageList
;
263
ImageIndexer.ImageList = parent.
ImageList
;
System.Windows.Forms.Tests (29)
System\Windows\Forms\TabControlTests.cs (29)
70
Assert.Null(control.
ImageList
);
1164
Assert.Same(value, control.
ImageList
);
1169
Assert.Same(value, control.
ImageList
);
1184
Assert.Same(value, control.
ImageList
);
1189
Assert.Same(value, control.
ImageList
);
1207
Assert.Same(value, control.
ImageList
);
1215
Assert.Same(value, control.
ImageList
);
1240
Assert.Same(value, control.
ImageList
);
1248
Assert.Same(value, control.
ImageList
);
1272
Assert.Same(imageList, control.
ImageList
);
1277
Assert.Null(control.
ImageList
);
1317
Assert.Same(imageList1, control.
ImageList
);
1320
Assert.Null(control.
ImageList
);
1326
Assert.Same(imageList2, control.
ImageList
);
1345
Assert.Same(imageList1, control.
ImageList
);
1352
Assert.Null(control.
ImageList
);
1361
Assert.Same(imageList2, control.
ImageList
);
1379
Assert.Same(imageList1, control.
ImageList
);
1384
Assert.Same(imageList1, control.
ImageList
);
1391
Assert.Same(imageList2, control.
ImageList
);
1412
Assert.Same(imageList1, control.
ImageList
);
1421
Assert.Same(imageList1, control.
ImageList
);
1432
Assert.Same(imageList2, control.
ImageList
);
3580
Assert.Same(imageList, control.
ImageList
);
3583
Assert.Same(imageList, control.
ImageList
);
3593
Assert.Same(imageList, control.
ImageList
);
3596
Assert.Same(imageList, control.
ImageList
);
3606
Assert.Same(imageList, control.
ImageList
);
3609
Assert.Null(control.
ImageList
);