9 references to DrawIconUnstretched
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (8)
2352g.DrawIconUnstretched(SystemIcons.WinLogo, new Rectangle(10, 20, -1, 0)); 2353g.DrawIconUnstretched(SystemIcons.WinLogo, new Rectangle(20, 10, 0, -1)); 2378Assert.Throws<ArgumentNullException>(() => g.DrawIconUnstretched(null, new Rectangle(0, 0, 40, 20))); 2386g.DrawIconUnstretched(SystemIcons.Information, new Rectangle(0, 0, 40, 20)); 2389g.DrawIconUnstretched(SystemIcons.Question, new Rectangle(0, 0, 0, 0)); 2391g.DrawIconUnstretched(SystemIcons.Warning, new Rectangle(20, 40, 0, 0)); 2393g.DrawIconUnstretched(SystemIcons.WinLogo, new Rectangle(10, 20, -1, 0)); 2394g.DrawIconUnstretched(SystemIcons.WinLogo, new Rectangle(20, 10, 0, -1));
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
877g.DrawIconUnstretched(icon!, imageBounds2);