Padding.All 屬性

定義

取得或設定所有邊的填充值。

public:
 property int All { int get(); void set(int value); };
public int All { get; set; }
member this.All : int with get, set
Public Property All As Integer

屬性值

若所有邊相同,填充以像素為單位;否則,為負1。

備註

在取得此性質時,若所有邊使用相同的填充值,則會回傳此共同值。 否則,-1 會回傳表示所有填充值不相等。

設定此值會改變 RightLeftBottomTop 屬性。

適用於

另請參閱