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