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