다음을 통해 공유


ViewGroup.MarginLayoutParams.MarginStart Property

Definition

Returns the start margin in pixels. -or- Sets the relative start margin.

public virtual int MarginStart { [Android.Runtime.Register("getMarginStart", "()I", "GetGetMarginStartHandler")] get; [Android.Runtime.Register("setMarginStart", "(I)V", "GetSetMarginStart_IHandler")] set; }
[<get: Android.Runtime.Register("getMarginStart", "()I", "GetGetMarginStartHandler")>]
[<set: Android.Runtime.Register("setMarginStart", "(I)V", "GetSetMarginStart_IHandler")>]
member this.MarginStart : int with get, set

Property Value

the start margin in pixels.

Attributes

Remarks

Property getter documentation:

Returns the start margin in pixels.

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

Property setter documentation:

Sets the relative start margin. Margin values should be positive.

Java documentation for android.view.ViewGroup.MarginLayoutParams.setMarginStart(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