Gets or sets a value indicating whether the control is automatically resized to display its entire contents.
Assembly: WindowsFormsIntegration (in WindowsFormsIntegration.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
[<BrowsableAttribute(true)>] abstract AutoSize : bool with get, set [<BrowsableAttribute(true)>] override AutoSize : bool with get, set
Property ValueType: System.Boolean
true if the control adjusts its size to closely fit its contents; otherwise, false. The default is true.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.