View.MeasuredState 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
只傳回 和 #getMeasuredHeightAndState()
的狀態位 #getMeasuredWidthAndState()
,並結合成一個整數。
public int MeasuredState { [Android.Runtime.Register("getMeasuredState", "()I", "")] get; }
[<get: Android.Runtime.Register("getMeasuredState", "()I", "")>]
member this.MeasuredState : int
屬性值
- 屬性
備註
只傳回 和 #getMeasuredHeightAndState()
的狀態位 #getMeasuredWidthAndState()
,並結合成一個整數。 寬度元件位於一般位 #MEASURED_STATE_MASK
,而高度元件位於移位 >>#MEASURED_HEIGHT_STATE_SHIFT
#MEASURED_STATE_MASK
。
的 android.view.View.getMeasuredState()
JAVA 檔。
此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。