8 references to DrawMixedCheckBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1250ControlPaint.DrawMixedCheckBox(
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1747=> DrawMixedCheckBox(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1545ControlPaint.DrawMixedCheckBox(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state); 1548ControlPaint.DrawMixedCheckBox(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state); 1557Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawMixedCheckBox(null, 1, 2, 3, 4, state)); 1571Assert.Throws<ArgumentException>(() => ControlPaint.DrawMixedCheckBox(graphics, 0, 0, width, height, state)); 1582Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.DrawMixedCheckBox(graphics, 0, 0, -3, 4, state)); 1593Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.DrawMixedCheckBox(graphics, 0, 0, 3, -4, state));