Share via


View.Width Property

Definition

Return the width of your view.

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

Property Value

The width of your view, in pixels.

Attributes

Remarks

Return the width of your view.

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

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