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

屬性值

Int32

如果所有邊緣的邊框距離都相同,則是以像素為單位的該邊框距離,否則為 -1。

備註

擷取此屬性時,如果所有邊緣都使用相同的填補值,則會傳回這個通用值。 否則,會傳回 -1 表示所有填補值不相等。

設定此值會 Right 變更 、 Left BottomTop 屬性。

適用於

另請參閱