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)
209
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
615
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
106
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
408
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
426
public override Size
GetPreferredSize
(Size constrainingSize) {
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (1)
217
public override System.Drawing.Size
GetPreferredSize
(System.Drawing.Size constrainingSize) {
10 references to GetPreferredSize
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2590
return item.AutoSize ? item.
GetPreferredSize
(Size.Empty) : item.Size;
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
210
Size prefSize = base.
GetPreferredSize
(constrainingSize);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
619
return base.
GetPreferredSize
(constrainingSize);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (5)
121
Size itemSize = item.AutoSize ? item.
GetPreferredSize
(this.displayRectangle.Size) : item.Size;
171
Size itemSize = item.AutoSize ? item.
GetPreferredSize
(displayRectangle.Size) : item.Size;
299
itemSize = item.AutoSize ? item.
GetPreferredSize
(Size.Empty) : item.Size;
435
itemSize = item.AutoSize ? item.
GetPreferredSize
(Size.Empty) : item.Size;
609
Size itemSize = item.AutoSize ? item.
GetPreferredSize
(displayRectangle.Size) : item.Size;
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (2)
219
return base.
GetPreferredSize
(constrainingSize) + new Size(4, 4);
222
return base.
GetPreferredSize
(constrainingSize);