ToolStrip.SetVisibleCore(Boolean) ToolStrip.SetVisibleCore(Boolean) ToolStrip.SetVisibleCore(Boolean) ToolStrip.SetVisibleCore(Boolean) Method

定義

擷取值,這個值會將 ToolStripItem 設定為指定的可視性狀態。Retrieves a value that sets the ToolStripItem to the specified visibility state.

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

如果 ToolStripItem 為可見,則為 true,否則為 falsetrue if the ToolStripItem is visible; otherwise, false.

備註

您通常會覆寫這個方法,以變更控制項的可見度行為。You would typically override this method to change the visibility behavior of the control.

適用於