10 references to GetPreferredSizeCore
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
59return options.GetPreferredSizeCore(proposedSize);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
150Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) 151== PaintPopupLayout(e, /* up = */ true, 2).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
225Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) == PaintLayout(e, /* up = */ true).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
42return options.GetPreferredSizeCore(proposedSize);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (2)
109Debug.Assert(layout.GetPreferredSizeCore(LayoutUtils.MaxSize) 110== PaintPopupLayout(e, /* up = */ false).GetPreferredSizeCore(LayoutUtils.MaxSize),
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
88return options.GetPreferredSizeCore(proposedSize);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
4761lastPreferredSize = currentLayoutOptions.GetPreferredSizeCore(constrainingSize);