ViewGroup.MarginLayoutParams.RightMargin Property

Definition

The right margin in pixels of the child.

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

Property Value

Attributes

Remarks

The right 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.rightMargin.

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