5 implementations of GetPreferredSize
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
139
public virtual Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\Control.cs (1)
2776
public virtual Size
GetPreferredSize
(Size proposedSize) {
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
2713
public virtual Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
120
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
668
Size IArrangedElement.
GetPreferredSize
(Size constrainingSize) {
5 references to GetPreferredSize
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
47
Size prefSize = element.
GetPreferredSize
(proposedConstraints);
365
Size elementPrefSize = element.
GetPreferredSize
(neededSize);
443
desiredSize = element.
GetPreferredSize
(constraints);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
593
return _element.
GetPreferredSize
(proposedSize);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
859
return element.
GetPreferredSize
(proposedConstraints);