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 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于