ViewGroup.MarginLayoutParams.LeftMargin Property

Definition

The left margin in pixels of the child.

[Android.Runtime.Register("leftMargin")]
public int LeftMargin { get; set; }
[<Android.Runtime.Register("leftMargin")>]
member this.LeftMargin : int with get, set

Property Value

Attributes

Remarks

The left margin in pixels of the child. Margin values should be positive. Call ViewGroup#setLayoutParams(LayoutParams) after reassigning a new value to this field.

Java documentation for android.view.ViewGroup.MarginLayoutParams.leftMargin.

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