UIElement3D.IsEnabled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指出是否在使用者介面中啟用這個專案, (UI) 。
public:
property bool IsEnabled { bool get(); void set(bool value); };
public bool IsEnabled { get; set; }
member this.IsEnabled : bool with get, set
Public Property IsEnabled As Boolean
屬性值
如果啟用這個項目,則為 true
;否則為 false
。 預設值是 true
。
備註
請注意,這個屬性會受到特定元素的類別特定實 IsEnabledCore 作所影響,通常是在執行時間。 因此,此處所列的預設值有時無效。 嘗試設定此值也可能由 所 IsEnabledCore 傳回的值覆寫。
未啟用的專案不會參與點擊測試或焦點,因此不會是輸入事件的來源。
IsEnabled.NET Framework 3.5 版引進。 如需詳細資訊,請參閱版本和相依性。
相依性屬性資訊
識別碼欄位 | IsEnabledProperty |
中繼資料屬性設定為 true |
無 |