5 implementations of GetPreferredSize
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
2049public virtual Size GetPreferredSize(Size proposedSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2336public virtual Size GetPreferredSize(Size constrainingSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
93public override Size GetPreferredSize(Size constrainingSize)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
670Size IArrangedElement.GetPreferredSize(Size constrainingSize)
System\Windows\Forms\Layout\ArrangedElement.cs (1)
152public virtual Size GetPreferredSize(Size constrainingSize)
5 references to GetPreferredSize
System.Windows.Forms (5)
System\Windows\Forms\Layout\DefaultLayout.cs (3)
47Size prefSize = element.GetPreferredSize(proposedConstraints); 510Size elementPrefSize = element.GetPreferredSize(neededSize); 579desiredSize = element.GetPreferredSize(constraints);
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (1)
84public virtual Size GetPreferredSize(Size proposedSize) => _element!.GetPreferredSize(proposedSize);
System\Windows\Forms\Layout\TableLayout.cs (1)
868? element.GetPreferredSize(proposedConstraints)