Version

SetMinimumSize Method

Sets the minimum size for the control.
Syntax
'Declaration
 
Public Sub SetMinimumSize( _
   ByVal control As Control, _
   ByVal size As Size _
) 
public void SetMinimumSize( 
   Control control,
   Size size
)

Parameters

control
Control managed by the component
size
Minimum size for the control
Remarks

The MinimumSize is used when determining how the layout should be arranged and indicates the minimum size that the control can allow.

Note: Not all layout managers change the size of the controls whose layout it manages and therefore this property may not affect the layout.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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