Implemented interface member:
method
GetPreferredSize
System.Windows.Forms.Layout.IArrangedElement.GetPreferredSize(System.Drawing.Size)
3 overrides of GetPreferredSize
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
946
public override Size
GetPreferredSize
( Size proposedSize ) {
winforms\Managed\System\WinForms\Label.cs (1)
1266
public override Size
GetPreferredSize
(Size proposedSize) {
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
120
public override Size
GetPreferredSize
(Size constrainingSize) {
9 references to GetPreferredSize
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
957
return base.
GetPreferredSize
( proposedSize );
winforms\Managed\System\WinForms\Control.cs (1)
4761
get { return
GetPreferredSize
(Size.Empty); }
winforms\Managed\System\WinForms\Label.cs (1)
1274
return base.
GetPreferredSize
(proposedSize);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
617
return Control.
GetPreferredSize
(constrainingSize - Padding.Size) + Padding.Size;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1275
return
GetPreferredSize
(Size.Empty);
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
122
return base.
GetPreferredSize
(constrainingSize);
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
242
preferredSize = _wrappedToolStrip.
GetPreferredSize
(constrainingSize);
247
preferredSize = _wrappedToolStrip.
GetPreferredSize
(constrainingSize);
252
preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.Size : _wrappedToolStrip.
GetPreferredSize
(constrainingSize);