4 overrides of GetPreferredSize
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
153
internal override Size
GetPreferredSize
(IArrangedElement container, Size proposedConstraints)
System\Windows\Forms\Layout\DefaultLayout.cs (1)
1103
internal override Size
GetPreferredSize
(IArrangedElement container, Size proposedBounds)
System\Windows\Forms\Layout\FlowLayout.cs (1)
23
internal override Size
GetPreferredSize
(IArrangedElement container, Size proposedConstraints)
System\Windows\Forms\Layout\TableLayout.cs (1)
135
internal override Size
GetPreferredSize
(IArrangedElement container, Size proposedConstraints)
6 references to GetPreferredSize
System.Windows.Forms (6)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
605
Size prefSize = LayoutEngine.
GetPreferredSize
(this, proposedSize - totalPadding);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2249
Size prefSize = LayoutEngine.
GetPreferredSize
(this, proposedSize - padding.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
672
Size preferredSize = LayoutEngine.
GetPreferredSize
(this, constrainingSize - Padding.Size) + Padding.Size;
System\Windows\Forms\Layout\ArrangedElement.cs (1)
154
Size preferredSize = LayoutEngine.
GetPreferredSize
(this, constrainingSize - Padding.Size) + Padding.Size;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
687
return LayoutEngine.
GetPreferredSize
(this, proposedSize - totalPadding) + totalPadding;
System\Windows\Forms\Panels\Panel.cs (1)
158
return LayoutEngine.
GetPreferredSize
(this, proposedSize - totalPadding) + totalPadding;