編輯

共用方式為


ToolStripDropDown.SetVisibleCore(Boolean) Method

Definition

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)

Parameters

visible
Boolean

true if the owner ToolStrip is currently displayed; otherwise, false.

Applies to