Share via


Display.Width Property

Definition

Caution

deprecated

This member is deprecated.

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

Property Value

Attributes

Remarks

This member is deprecated. Use WindowMetrics#getBounds#width() instead.

Java documentation for android.view.Display.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