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