38 writes to TransparencyKey
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
4956
private void ResetTransparencyKey() =>
TransparencyKey
= Color.Empty;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
318
set => base.
TransparencyKey
= value;
System.Windows.Forms.Tests (36)
System\Windows\Forms\FormTests.cs (36)
347
TransparencyKey
= Color.Red,
456
TransparencyKey
= Color.Red
660
TransparencyKey
= Color.Red,
842
control.
TransparencyKey
= Color.Red;
1281
TransparencyKey
= value
1289
control.
TransparencyKey
= value;
1313
TransparencyKey
= Color.Yellow
1316
control.
TransparencyKey
= value;
1323
control.
TransparencyKey
= value;
1348
TransparencyKey
= value
1356
control.
TransparencyKey
= value;
1381
TransparencyKey
= value
1403
TransparencyKey
= value
1411
control.
TransparencyKey
= value;
1430
control.
TransparencyKey
= Color.Empty;
1440
control.
TransparencyKey
= Color.Empty;
1469
control.
TransparencyKey
= value;
1479
control.
TransparencyKey
= value;
1504
control.
TransparencyKey
= Color.Empty;
1514
control.
TransparencyKey
= Color.Empty;
1546
control.
TransparencyKey
= value;
1556
control.
TransparencyKey
= value;
1579
control.
TransparencyKey
= Color.Empty;
1589
control.
TransparencyKey
= Color.Empty;
1613
control.
TransparencyKey
= value;
1623
control.
TransparencyKey
= value;
1648
control.
TransparencyKey
= Color.Empty;
1658
control.
TransparencyKey
= Color.Empty;
1684
control.
TransparencyKey
= value;
1694
control.
TransparencyKey
= value;
1717
control.
TransparencyKey
= Color.Empty;
1727
control.
TransparencyKey
= Color.Empty;
1751
control.
TransparencyKey
= value;
1761
control.
TransparencyKey
= value;
1799
control.
TransparencyKey
= value;
1809
control.
TransparencyKey
= value;
73 references to TransparencyKey
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (4)
1596
_formState[s_formStateLayered] = (
TransparencyKey
!= Color.Empty) ? 1 : 0;
5888
/// Indicates whether the <see cref="
TransparencyKey
"/> property should be
5894
return !
TransparencyKey
.Equals(Color.Empty);
6044
Color transparencyKey =
TransparencyKey
;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
317
get => base.
TransparencyKey
;
System.Windows.Forms.Tests (68)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
156
Assert.Equal(Color.Empty, control.
TransparencyKey
);
System\Windows\Forms\FormTests.cs (67)
158
Assert.Equal(Color.Empty, control.
TransparencyKey
);
315
Assert.Equal(Color.Empty, control.
TransparencyKey
);
322
Assert.Equal(Color.Empty, control.
TransparencyKey
);
329
Assert.Equal(Color.Empty, control.
TransparencyKey
);
351
Assert.Equal(expectedTransparencyKey, control.
TransparencyKey
);
358
Assert.Equal(expectedTransparencyKey, control.
TransparencyKey
);
365
Assert.Equal(Color.Empty, control.
TransparencyKey
);
380
Assert.Equal(Color.Empty, control.
TransparencyKey
);
387
Assert.Equal(Color.Empty, control.
TransparencyKey
);
394
Assert.Equal(Color.Empty, control.
TransparencyKey
);
415
Assert.Equal(Color.Empty, control.
TransparencyKey
);
425
Assert.Equal(Color.Empty, control.
TransparencyKey
);
435
Assert.Equal(Color.Empty, control.
TransparencyKey
);
468
Assert.Equal(expectedTransparencyKey, control.
TransparencyKey
);
478
Assert.Equal(expectedTransparencyKey, control.
TransparencyKey
);
488
Assert.Equal(Color.Empty, control.
TransparencyKey
);
515
Assert.Equal(Color.Empty, control.
TransparencyKey
);
525
Assert.Equal(Color.Empty, control.
TransparencyKey
);
535
Assert.Equal(Color.Empty, control.
TransparencyKey
);
630
Assert.Equal(Color.Empty, control.
TransparencyKey
);
637
Assert.Equal(Color.Empty, control.
TransparencyKey
);
665
Assert.Equal(Color.Red, control.
TransparencyKey
);
672
Assert.Equal(Color.Red, control.
TransparencyKey
);
688
Assert.Equal(Color.Empty, control.
TransparencyKey
);
695
Assert.Equal(Color.Empty, control.
TransparencyKey
);
725
Assert.Equal(Color.Empty, control.
TransparencyKey
);
735
Assert.Equal(Color.Empty, control.
TransparencyKey
);
763
Assert.Equal(Color.Empty, control.
TransparencyKey
);
772
Assert.Equal(Color.Empty, control.
TransparencyKey
);
807
Assert.Equal(Color.Empty, control.
TransparencyKey
);
816
Assert.Equal(Color.Empty, control.
TransparencyKey
);
853
Assert.Equal(Color.Red, control.
TransparencyKey
);
863
Assert.Equal(Color.Red, control.
TransparencyKey
);
905
Assert.Equal(Color.Empty, control.
TransparencyKey
);
915
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1285
Assert.Equal(value, control.
TransparencyKey
);
1292
Assert.Equal(value, control.
TransparencyKey
);
1319
Assert.Equal(value, control.
TransparencyKey
);
1326
Assert.Equal(value, control.
TransparencyKey
);
1352
Assert.Equal(value, control.
TransparencyKey
);
1359
Assert.Equal(value, control.
TransparencyKey
);
1385
Assert.Equal(value, control.
TransparencyKey
);
1391
Assert.Equal(value, control.
TransparencyKey
);
1407
Assert.Equal(value, control.
TransparencyKey
);
1414
Assert.Equal(value, control.
TransparencyKey
);
1433
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1443
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1472
Assert.Equal(value, control.
TransparencyKey
);
1482
Assert.Equal(value, control.
TransparencyKey
);
1507
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1517
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1549
Assert.Equal(value, control.
TransparencyKey
);
1559
Assert.Equal(value, control.
TransparencyKey
);
1582
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1592
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1616
Assert.Equal(value, control.
TransparencyKey
);
1626
Assert.Equal(value, control.
TransparencyKey
);
1651
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1661
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1687
Assert.Equal(value, control.
TransparencyKey
);
1697
Assert.Equal(value, control.
TransparencyKey
);
1720
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1730
Assert.Equal(Color.Empty, control.
TransparencyKey
);
1754
Assert.Equal(value, control.
TransparencyKey
);
1764
Assert.Equal(value, control.
TransparencyKey
);
1802
Assert.Equal(value, control.
TransparencyKey
);
1812
Assert.Equal(value, control.
TransparencyKey
);