ToolStripDropDown::AutoSize Property

 

Gets or sets a value indicating whether the ToolStripDropDown automatically adjusts its size when the form is resized.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool AutoSize {
	virtual bool get() override;
	virtual void set(bool value) override;
}

Property Value

Type: System::Boolean

true if the ToolStripDropDown control automatically resizes; otherwise, false. The default is true.

.NET Framework
Available since 2.0
Return to top
Show: