Control.Padding Property
.NET Framework (current version)
Gets or sets the padding inside a control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Padding is specified in the order Left, Top, Right, and Bottom. For more information, see Thickness and Alignment, Margins, and Padding Overview.
This property only affects a control whose template uses the Padding property as a parameter. On other controls, this property has no impact.
Identifier field | |
Metadata properties set to true |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: