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)
946public override Size GetPreferredSize( Size proposedSize ) {
winforms\Managed\System\WinForms\Label.cs (1)
1266public override Size GetPreferredSize(Size proposedSize) {
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
120public override Size GetPreferredSize(Size constrainingSize) {
9 references to GetPreferredSize
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
957return base.GetPreferredSize( proposedSize );
winforms\Managed\System\WinForms\Control.cs (1)
4761get { return GetPreferredSize(Size.Empty); }
winforms\Managed\System\WinForms\Label.cs (1)
1274return base.GetPreferredSize(proposedSize);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
617return Control.GetPreferredSize(constrainingSize - Padding.Size) + Padding.Size;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1275return GetPreferredSize(Size.Empty);
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
122return base.GetPreferredSize(constrainingSize);
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
242preferredSize = _wrappedToolStrip.GetPreferredSize(constrainingSize); 247preferredSize = _wrappedToolStrip.GetPreferredSize(constrainingSize); 252preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.Size : _wrappedToolStrip.GetPreferredSize(constrainingSize);