Editar

Compartilhar via


Padding.All Property

Definition

Gets or sets the padding value for all the edges.

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

Property Value

The padding, in pixels, for all edges if the same; otherwise, -1.

Remarks

When retrieving this property, if all the edges use the same padding value, then this common value is returned. Otherwise, -1 is returned to indicate that all the padding values are not equal.

Setting this value changes the Right, Left, Bottom, and Top properties.

Applies to

See also