2 overrides of GetPreferredSize
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
31
public override Size
GetPreferredSize
(Size constrainingSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemInternalLayout.cs (1)
163
public override Size
GetPreferredSize
(Size constrainingSize)
4 references to GetPreferredSize
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
33
Size preferredSize = base.
GetPreferredSize
(constrainingSize);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2340
return InternalLayout.
GetPreferredSize
(constrainingSize - Padding.Size) + Padding.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemInternalLayout.cs (1)
173
return base.
GetPreferredSize
(constrainingSize);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
349
Size preferredSize = SplitButtonButtonLayout.
GetPreferredSize
(constrainingSize);