Method ComputeFittingClientSize
ComputeFittingClientSize(Control)
Computes client area size for control so that it matches the sizer's minimal size.
SizeI ComputeFittingClientSize(Control control)
Parameters
control
ControlControl.
Returns
Remarks
Unlike GetMinSize(), this method accounts for other constraints imposed on control, namely display's size (returned size will never be too large for the display) and maximum control size if previously set by MaximumSize.