ToolStripDropDown.AutoSize ToolStripDropDown.AutoSize ToolStripDropDown.AutoSize ToolStripDropDown.AutoSize Property

定义

获取或设置一个值,该值指示 ToolStripDropDown 是否在调整窗体大小时自动调整它的大小。Gets or sets a value indicating whether the ToolStripDropDown automatically adjusts its size when the form is resized.

public:
 virtual property bool AutoSize { bool get(); void set(bool value); };
public override bool AutoSize { get; set; }
member this.AutoSize : bool with get, set
Public Overrides Property AutoSize As Boolean

属性值

如果 ToolStripDropDown 控件自动调整大小,则为 true;否则为 falsetrue if the ToolStripDropDown control automatically resizes; otherwise, false. 默认值为 trueThe default is true.

适用于