Base:
method
GetPreferredSize
System.Windows.Forms.ToolStripItem.GetPreferredSize(System.Drawing.Size)
1 override of GetPreferredSize
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
75public override Size GetPreferredSize(Size constrainingSize)
2 references to GetPreferredSize
System.Windows.Forms.Tests (2)
System\Windows\Forms\ToolStripButtonTests.cs (2)
1090Assert.Equal(new Size(23, 4), item.GetPreferredSize(proposedSize)); 1093Assert.Equal(new Size(23, 4), item.GetPreferredSize(proposedSize));