Implemented interface member:
method
GetPreferredSize
System.Windows.Forms.Layout.IArrangedElement.GetPreferredSize(System.Drawing.Size)
6 overrides of GetPreferredSize
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
209public override Size GetPreferredSize(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
615public override Size GetPreferredSize(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
106public override Size GetPreferredSize(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
408public override Size GetPreferredSize(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
426public override Size GetPreferredSize(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
217public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) {
10 references to GetPreferredSize
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2590return item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size;
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
210Size prefSize = base.GetPreferredSize(constrainingSize);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
619return base.GetPreferredSize(constrainingSize);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (5)
121Size itemSize = item.AutoSize ? item.GetPreferredSize(this.displayRectangle.Size) : item.Size; 171Size itemSize = item.AutoSize ? item.GetPreferredSize(displayRectangle.Size) : item.Size; 299itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 435itemSize = item.AutoSize ? item.GetPreferredSize(Size.Empty) : item.Size; 609Size itemSize = item.AutoSize ? item.GetPreferredSize(displayRectangle.Size) : item.Size;
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (2)
219return base.GetPreferredSize(constrainingSize) + new Size(4, 4); 222return base.GetPreferredSize(constrainingSize);