Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AutoSize Property
Collapse the table of content
Expand the table of content

Visual Basic Reference

Visual Studio 6.0

AutoSize Property

See Also    Example    Applies To

Returns or sets a value that determines whether a control is automatically resized to display its entire contents.


object.AutoSize [= boolean]

The AutoSize property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Boolean A Boolean expression that specifies whether the control is resized, as described in Settings.


The settings for boolean are:

Setting Description
True Automatically resizes the control to display its entire contents.
False (Default) Keeps the size of the control constant. Contents are clipped when they exceed the area of the control.

© 2015 Microsoft