Property Padding
Padding
Gets or sets the padding inside a control.
Thickness Padding { get; set; }
Property Value
- Thickness
Provides padding values for the control. The default value is a Thickness with all properties equal to 0 (zero).
Remarks
The padding is the amount of space between the content of a Control and its border. Padding is set as a Thickness structure rather than as a number so that the padding can be set asymmetrically. The Thickness structure itself supports string type conversion so that you can specify an asymmetric Padding in UIXML attribute syntax also.