10 references to Default
System.Windows.Forms.Tests (9)
CheckedListBoxTests.cs (5)
407
yield return new object[] { null, Rectangle.Empty, 0, DrawItemState.
Default
, Color.Red, Color.Blue };
410
yield return new object[] { new Font("Arial", 8.25f), new Rectangle(10, 20, 30, 40), 1, DrawItemState.
Default
, Color.Red, Color.Blue };
466
DrawItemEventArgs e = new(graphics, null, new Rectangle(1, 2, 3, 4), -1, DrawItemState.
Default
);
477
DrawItemEventArgs e = new(graphics, null, new Rectangle(1, 2, 3, 4), 1, DrawItemState.
Default
);
490
DrawItemEventArgs e = new(graphics, null, new Rectangle(1, 2, 3, 4), 2, DrawItemState.
Default
);
System\Windows\Forms\ComboBoxTests.cs (4)
732
control.TestRaiseOnDrawItem(new DrawItemEventArgs(graphics, control.Font, default, 0, DrawItemState.
Default
));
749
control.TestRaiseOnDrawItem(new DrawItemEventArgs(Graphics.FromImage(bitmap), control.Font, default, 0, DrawItemState.
Default
));
778
control.TestRaiseOnDrawItem(new DrawItemEventArgs(graphics, control.Font, default, 0, DrawItemState.
Default
));
784
control.TestRaiseOnDrawItem(new DrawItemEventArgs(graphics, control.Font, default, 0, DrawItemState.
Default
));
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
420
OnDrawItem(new StatusBarDrawItemEventArgs(CreateGraphics(), font: null!, r: new(1, 1, 1, 1), itemId: 1, DrawItemState.
Default
, Panels[0]));