語言

ViewGroup.MarginLayoutParams.LeftMargin 屬性

定義

孩子左邊的像素數。

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

屬性值

屬性

備註

孩子左邊的像素數。 利潤率應為正值。 在重新指派一個新值給這個欄位後呼叫 ViewGroup#setLayoutParams(LayoutParams)

Java 文件 android.view.ViewGroup.MarginLayoutParams.leftMargin

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於