24 writes to Opacity
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
712set => base.Opacity = value;
System.Windows.Forms.Tests (23)
System\Windows\Forms\FormTests.cs (23)
346Opacity = 0.5, 455Opacity = 0.5, 626Opacity = value 634control.Opacity = value; 661Opacity = value 669control.Opacity = value; 684Opacity = value 692control.Opacity = value; 722control.Opacity = value; 732control.Opacity = value; 760control.Opacity = value; 769control.Opacity = value; 804control.Opacity = value; 813control.Opacity = value; 850control.Opacity = value; 860control.Opacity = value; 902control.Opacity = value; 912control.Opacity = value; 1347Opacity = 0.5, 1638Opacity = 0.5 1674Opacity = 0.5 1709control.Opacity = 0.5; 1743control.Opacity = 0.5;
70 references to Opacity
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
1611private byte OpacityAsByte => (byte)(Opacity * 255.0f);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
711get => base.Opacity;
System.Windows.Forms.Tests (68)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
125Assert.Equal(1, control.Opacity);
System\Windows\Forms\FormTests.cs (67)
127Assert.Equal(1, control.Opacity); 316Assert.Equal(1, control.Opacity); 323Assert.Equal(1, control.Opacity); 330Assert.Equal(1, control.Opacity); 352Assert.Equal(expectedOpacity, control.Opacity); 359Assert.Equal(expectedOpacity, control.Opacity); 366Assert.Equal(1, control.Opacity); 381Assert.Equal(1, control.Opacity); 388Assert.Equal(1, control.Opacity); 395Assert.Equal(1, control.Opacity); 416Assert.Equal(1, control.Opacity); 426Assert.Equal(1, control.Opacity); 436Assert.Equal(1, control.Opacity); 469Assert.Equal(expectedOpacity, control.Opacity); 479Assert.Equal(expectedOpacity, control.Opacity); 489Assert.Equal(1, control.Opacity); 516Assert.Equal(1, control.Opacity); 526Assert.Equal(1, control.Opacity); 536Assert.Equal(1, control.Opacity); 629Assert.Equal(expected, control.Opacity); 636Assert.Equal(expected, control.Opacity); 664Assert.Equal(expected, control.Opacity); 671Assert.Equal(expected, control.Opacity); 687Assert.Equal(expected, control.Opacity); 694Assert.Equal(expected, control.Opacity); 724Assert.Equal(expected, control.Opacity); 734Assert.Equal(expected, control.Opacity); 762Assert.Equal(expected, control.Opacity); 771Assert.Equal(expected, control.Opacity); 806Assert.Equal(expected, control.Opacity); 815Assert.Equal(expected, control.Opacity); 852Assert.Equal(expected, control.Opacity); 862Assert.Equal(expected, control.Opacity); 904Assert.Equal(expected, control.Opacity); 914Assert.Equal(expected, control.Opacity); 1284Assert.Equal(1, control.Opacity); 1291Assert.Equal(1, control.Opacity); 1318Assert.Equal(1, control.Opacity); 1325Assert.Equal(1, control.Opacity); 1351Assert.Equal(0.5, control.Opacity); 1358Assert.Equal(0.5, control.Opacity); 1384Assert.Equal(1, control.Opacity); 1390Assert.Equal(1, control.Opacity); 1406Assert.Equal(1, control.Opacity); 1413Assert.Equal(1, control.Opacity); 1432Assert.Equal(1, control.Opacity); 1442Assert.Equal(1, control.Opacity); 1471Assert.Equal(1, control.Opacity); 1481Assert.Equal(1, control.Opacity); 1506Assert.Equal(1, control.Opacity); 1516Assert.Equal(1, control.Opacity); 1548Assert.Equal(1, control.Opacity); 1558Assert.Equal(1, control.Opacity); 1581Assert.Equal(1, control.Opacity); 1591Assert.Equal(1, control.Opacity); 1615Assert.Equal(1, control.Opacity); 1625Assert.Equal(1, control.Opacity); 1650Assert.Equal(0.5, control.Opacity); 1660Assert.Equal(0.5, control.Opacity); 1686Assert.Equal(0.5, control.Opacity); 1696Assert.Equal(0.5, control.Opacity); 1719Assert.Equal(0.5, control.Opacity); 1729Assert.Equal(0.5, control.Opacity); 1753Assert.Equal(0.5, control.Opacity); 1763Assert.Equal(0.5, control.Opacity); 1801Assert.Equal(1, control.Opacity); 1811Assert.Equal(1, control.Opacity);