ElementHost::AutoSize Property
.NET Framework (current version)
Gets or sets a value indicating whether the control is automatically resized to display its entire contents.
Assembly: WindowsFormsIntegration (in WindowsFormsIntegration.dll)
public: [BrowsableAttribute(true)] property bool AutoSize { virtual bool get() override; virtual void set(bool value) override; }
Property Value
Type: System::Booleantrue if the control adjusts its size to closely fit its contents; otherwise, false. The default is true.
.NET Framework
Available since 3.0
Available since 3.0
Show: