共用方式為


View.MeasuredHeight Property

Definition

Like #getMeasuredHeightAndState(), but only returns the raw height component (that is the result is masked by #MEASURED_SIZE_MASK).

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

Property Value

The raw measured height of this view.

Attributes

Remarks

Like #getMeasuredHeightAndState(), but only returns the raw height component (that is the result is masked by #MEASURED_SIZE_MASK).

Java documentation for android.view.View.getMeasuredHeight().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to