Image.Enabled 屬性

定義

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

public:
 virtual property bool Enabled { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool Enabled { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Enabled : bool with get, set
Public Overrides Property Enabled As Boolean

屬性值

Boolean

如果啟用控制項,則為 true,否則為 falsetrue if the control is enabled; otherwise false.

屬性

備註

注意

這個屬性繼承自 WebControl 類別,並不適用于 Image 控制項。This property is inherited from the WebControl class and is not applicable to the Image control.

適用於