AutoSize Property

ElementHost::AutoSize Property

 

Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

Namespace:   System.Windows.Forms.Integration
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::Boolean

true if the control adjusts its size to closely fit its contents; otherwise, false. The default is true.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft