Udostępnij za pośrednictwem


View.MeasuredWidth Property

Definition

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

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

Property Value

The raw measured width of this view.

Attributes

Remarks

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

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

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