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