Version

Padding Property

Returns the amount of padding between the border and the element.
Syntax
'Declaration
 
Public Property Padding As Thickness
public Thickness Padding {get; set;}
Remarks

Note: The padding of this element is special in that it affects not only where the element will position its children but also in that the element will not render to that area. This allows the element to respond to mouse messages but not render within an outer area of the element.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also