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

TypeDescription
Edge as PaddingEdgeEnum A PaddingEdgeEnum expression that specifies the edge to be changed
Long A long expression that defines the padding
By default, Padding property is 0. The Padding property specifies the body/background padding. 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 ClientPadding property specifies the padding while the element's Type property is exElementHostWindow or exElementHostControl.

The following screen shot shows the element when Padding is 0 (default):

The following screen shot shows the element when Padding is 1:

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