SizeToFit(Boolean) Method
Sizes the section to fit the contained controls and optionally allows the section to shrink to fit the contained controls.
public void SizeToFit(
bool
)
'Declaration
Public Overloads Sub SizeToFit( _
ByVal As Boolean _
)
Parameters
- bAllowShrink
- Set to True to allow the section to shrink to fit the contained controls.