View.MeasuredWidth 屬性

定義

就像 一樣 #getMeasuredWidthAndState() ,但只會傳回原始寬度元件 (,這是由) 遮罩 #MEASURED_SIZE_MASK 的結果。

public int MeasuredWidth { [Android.Runtime.Register("getMeasuredWidth", "()I", "")] get; }
[<get: Android.Runtime.Register("getMeasuredWidth", "()I", "")>]
member this.MeasuredWidth : int

屬性值

此檢視的原始測量寬度。

屬性

備註

就像 一樣 #getMeasuredWidthAndState() ,但只會傳回原始寬度元件 (,這是由) 遮罩 #MEASURED_SIZE_MASK 的結果。

android.view.View.getMeasuredWidth() JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

適用於