Base:
method
GetPreferredSize
System.Windows.Forms.ToolStripItem.GetPreferredSize(System.Drawing.Size)
3 references to GetPreferredSize
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStrip.cs (2)
1523toolStripOverflowButton.Size = toolStripOverflowButton.GetPreferredSize(this.DisplayRectangle.Size - this.Padding.Size); 3427toolStripOverflowButton.Size = toolStripOverflowButton.GetPreferredSize(this.DisplayRectangle.Size - this.Padding.Size);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
61Size overflowButtonSize = toolStrip.OverflowButton.AutoSize ? toolStrip.OverflowButton.GetPreferredSize(displayRectangle.Size) : toolStrip.OverflowButton.Size;