View.GetDrawableState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳可繪製狀態的資源 ID 陣列,代表視圖的當前狀態。
[Android.Runtime.Register("getDrawableState", "()[I", "")]
public int[]? GetDrawableState();
[<Android.Runtime.Register("getDrawableState", "()[I", "")>]
member this.GetDrawableState : unit -> int[]
傳回
Int32[]
目前可繪製狀態
- 屬性
備註
回傳可繪製狀態的資源 ID 陣列,代表視圖的當前狀態。
Java 文件 android.view.View.getDrawableState()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。