ToolStripDropDown.SetVisibleCore(Boolean) ToolStripDropDown.SetVisibleCore(Boolean) ToolStripDropDown.SetVisibleCore(Boolean) ToolStripDropDown.SetVisibleCore(Boolean) Method

定义

如果当前显示所有者 ToolStrip,则调整所有者 ToolStripDropDown 的大小以适应 ToolStrip,如果当前未显示 ToolStripDropDown,则清除并重置 ToolStrip 的活动 ToolStrip 子控件。Adjusts the size of the owner ToolStrip to accommodate the ToolStripDropDown if the owner ToolStrip is currently displayed, or clears and resets active ToolStripDropDown child controls of the ToolStrip if the ToolStrip is not currently displayed.

protected:
 override void SetVisibleCore(bool visible);
protected override void SetVisibleCore (bool visible);
override this.SetVisibleCore : bool -> unit
Protected Overrides Sub SetVisibleCore (visible As Boolean)

参数

visible
Boolean Boolean Boolean Boolean

如果当前显示了所有者 ToolStrip,则为 true;否则为 falsetrue if the owner ToolStrip is currently displayed; otherwise, false.

适用于