Table of Contents

Property Padding

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Padding

Gets or sets the padding inside a control.

public virtual 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.