Share via


ViewGroup.MarginLayoutParams.IsMarginRelative Property

Definition

Check if margins are relative.

public virtual bool IsMarginRelative { [Android.Runtime.Register("isMarginRelative", "()Z", "GetIsMarginRelativeHandler")] get; }
[<get: Android.Runtime.Register("isMarginRelative", "()Z", "GetIsMarginRelativeHandler")>]
member this.IsMarginRelative : bool

Property Value

true if either marginStart or marginEnd has been set.

Attributes

Remarks

Check if margins are relative.

Java documentation for android.view.ViewGroup.MarginLayoutParams.isMarginRelative().

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