View.SetAllowClickWhenDisabled(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
關閉此檢視時,啟用或停用點擊事件。
[Android.Runtime.Register("setAllowClickWhenDisabled", "(Z)V", "GetSetAllowClickWhenDisabled_ZHandler", ApiSince=31)]
public virtual void SetAllowClickWhenDisabled(bool clickableWhenDisabled);
[<Android.Runtime.Register("setAllowClickWhenDisabled", "(Z)V", "GetSetAllowClickWhenDisabled_ZHandler", ApiSince=31)>]
abstract member SetAllowClickWhenDisabled : bool -> unit
override this.SetAllowClickWhenDisabled : bool -> unit
參數
- clickableWhenDisabled
- Boolean
為 true 以使視圖可點擊,否則為 false
- 屬性
備註
關閉此檢視時,啟用或停用點擊事件。
的 android.view.View.setAllowClickWhenDisabled(boolean)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。