property Element.BorderPadding(Edge as PaddingEdgeEnum) as Long
Returns or sets a value that indicates the padding of the element's borders.

TypeDescription
Edge as PaddingEdgeEnum A PaddingEdgeEnum expression that specifies the edge to be changed
Long A long expression that defines the padding
By default, BorderPadding property is 1. The BorderPadding property specifies the padding to be applied on borders, to define the position of the status and the body parts of the element. The StatusPadding property specifies the status padding. The Padding property specifies the body padding. The Border property specifies the style to display the element's border.

The following screen shot shows the element when BorderPadding is 1 (default):

The following screen shot shows the element when BorderPadding is 0:

The following screen shot shows the element when BorderPadding is 4: