Freigeben über


View.Left Property

Definition

Left position of this view relative to its parent. -or- Sets the left position of this view relative to its parent.

public int Left { [Android.Runtime.Register("getLeft", "()I", "")] get; [Android.Runtime.Register("setLeft", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getLeft", "()I", "")>]
[<set: Android.Runtime.Register("setLeft", "(I)V", "")>]
member this.Left : int with get, set

Property Value

The left edge of this view, in pixels.

Attributes

Remarks

Property getter documentation:

Left position of this view relative to its parent.

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

Property setter documentation:

Sets the left position of this view relative to its parent. This method is meant to be called by the layout system and should not generally be called otherwise, because the property may be changed at any time by the layout.

Java documentation for android.view.View.setLeft(int).

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