11 overrides of GetPreferredSizeCore
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
958internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
8980internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1020internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
599internal override Size GetPreferredSizeCore(Size proposedSize)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1050internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
757internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1032internal override Size GetPreferredSizeCore(Size proposedSize)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
814internal override Size GetPreferredSizeCore(Size proposedConstraints)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2232internal override Size GetPreferredSizeCore(Size proposedSize)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
681internal override Size GetPreferredSizeCore(Size proposedSize)
System\Windows\Forms\Panels\Panel.cs (1)
151internal override Size GetPreferredSizeCore(Size proposedSize)
3 references to GetPreferredSizeCore
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
2079preferredSize = GetPreferredSizeCore(proposedSize);
System\Windows\Forms\Layout\CommonProperties.cs (2)
342/// <see cref="Control.GetPreferredSizeCore(Size)"/> method. DO NOT CALL DIRECTLY 372/// <see cref="Control.GetPreferredSizeCore(Size)"/> implementation when asked for a constraining