Base:
method
GetPreferredSize
System.Windows.Forms.ToolStripItem.GetPreferredSize(System.Drawing.Size)
3 references to GetPreferredSize
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1363_toolStripOverflowButton.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size); 3259_toolStripOverflowButton!.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
40Size overflowButtonSize = toolStrip.OverflowButton.AutoSize ? toolStrip.OverflowButton.GetPreferredSize(_displayRectangle.Size) : toolStrip.OverflowButton.Size;