ToolStripItem.Enabled 屬性

定義

取得或設定值,指出是否已啟用 ToolStripItem 的父控制項。Gets or sets a value indicating whether the parent control of the ToolStripItem is enabled.

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

屬性值

如果已啟用 true 的父控制項,則為 ToolStripItem,否則為 falsetrue if the parent control of the ToolStripItem is enabled; otherwise, false. 預設為 trueThe default is true.

適用於