3 overrides of ApplyBoundsConstraints
System.Windows.Forms (3)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1937
internal override Rectangle
ApplyBoundsConstraints
(int suggestedX, int suggestedY, int proposedWidth, int proposedHeight)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1012
internal override Rectangle
ApplyBoundsConstraints
(int suggestedX, int suggestedY, int proposedWidth, int proposedHeight)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
451
internal override Rectangle
ApplyBoundsConstraints
(int suggestedX, int suggestedY, int proposedWidth, int proposedHeight)
7 references to ApplyBoundsConstraints
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (3)
5272
return
ApplyBoundsConstraints
(0, 0, width, height).Size;
5279
return
ApplyBoundsConstraints
(0, 0, proposedSize.Width, proposedSize.Height).Size;
10168
Rectangle adjustedBounds =
ApplyBoundsConstraints
(x, y, width, height);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1945
return base.
ApplyBoundsConstraints
(suggestedX, suggestedY, proposedWidth, proposedHeight);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1015
return base.
ApplyBoundsConstraints
(suggestedX, suggestedY, proposedWidth, PreferredHeight);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
453
return base.
ApplyBoundsConstraints
(suggestedX, suggestedY, proposedWidth, PreferredHeight);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Internals.cs (1)
179
Rectangle actualBounds = control.
ApplyBoundsConstraints
(expected, expected, expected, expected);