Sizes the section to fit the contained controls and optionally allows the section to shrink to fit the contained controls.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub SizeToFit( _
ByVal bAllowShrink As System.Boolean _
) |
Parameters
- bAllowShrink
- Set to True to allow the section to shrink to fit the contained controls.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also